modal force close with button code example
Example 1: close bootstrap modal with javascript
$('#myModal').modal('hide');
Example 2: bs modal service close
this._bsModalRef.hide();
$('#myModal').modal('hide');
this._bsModalRef.hide();