Disable click outside dialog

Bootstrap modal dialog prevent close on click outside :

Add following to modal div :

<div id="modal" class="modal fade" data-keyboard="false" data-backdrop="static">

Comments