modal close button disable jquery code example
Example 1: close modal jquery
$('#myModal').modal('toggle');
$('#myModal').modal('show');
$('#myModal').modal('hide');
Example 2: modal show not close jquery
jQuery('#modal_ajax').modal('show', {backdrop: 'static', keyboard: false});