modal click close when release 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
});
this._bsModalRef.hide();
$("yourid").on('hide.bs.modal', function(){
// do it here
});