bootstrap modal click outside to close it 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">