how to not close modal by clicking outside bootstrap code example
Example: prevent bootstrap modal from closing when clicking outside
<div id="idModal" class="modal hide" data-backdrop="static" data-keyboard="false">
<div id="idModal" class="modal hide" data-backdrop="static" data-keyboard="false">