While you creating your modal you can specify its behavior:
$modal.open({
// ... other options
backdrop : 'static',
keyboard : false
});
While you creating your modal you can specify its behavior:
$modal.open({
// ... other options
backdrop : 'static',
keyboard : false
});