The default behaviour for bootstrap modal dialogs is to close when you click outside the dialog however this is not always the desired behaviour When using Bootstrap 4 without the angular wrapper you need to add the data-backdrop=’static’ and data-keyboard=”false” to the button in order…