modal popup bootstrap is close when click outside code example
Example: bootstrap modal popup backdrop false
<button class='btn btn-danger fa fa-trash' data-toggle='modal' data-target='#deleteModal' data-backdrop='static' data-keyboard='false'></button>