modal gets closed on selection over mouse even when backdrop is false code example
Example: bootstrap modal prevent close
$('#myModal').modal({backdrop: 'static', keyboard: false})
$('#myModal').modal({backdrop: 'static', keyboard: false})