bootstrap how to see always modal code example
Example 1: bootstrap modal don't dismiss
<div class="modal fade" id="myModal" data-backdrop="static" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
Example 2: bootstrap modal not close
$('#MymodalPreventScript').modal({
backdrop: 'static',
keyboard: false
});