modal without close button code example
Example 1: bs modal service close
this._bsModalRef.hide();
Example 2: when modal close event
$("yourid").on('hide.bs.modal', function(){
// do it here
});
Example 3: bootstrap modal not close
$('#MymodalPreventScript').modal({
backdrop: 'static',
keyboard: false
});