set static backdrop of modal bootstrpa code example
Example 1: static backdrop
$('#myModal').modal({ backdrop: 'static', keyboard: false })
Example 2: static modal bootstrap 4
$('#myModal').modal({ backdrop: 'static', keyboard: false })