title: yii2 bootstrap modal hide show
body: <p>I am using yii2 bootstrap model to show some data on that and 
  bootstrap model is close through two ways,</p>
  
  <p>1)on click of model close button.</p>
  
  <p>2)on click of that black area which is appeared in background like light-box.</p>
  
  <p>I already handle the close button event but unable to handle that black area click event.
  I don't want to close my model while click on that black area how should i do that.Please help me.
  Thanks in advance.</p>
  
  <p>My model</p>
  
  <pre><code>&lt;?php 
  Modal::begin([
      'header' =&gt; 'Student Info',
      'id' =&gt; 'stud-info',
      'closeButton' =&gt; ['id' =&gt; 'close-button'],      
      ]); 
  
      $form-&gt;field($model, 'StudName',
          [
          'options'=&gt;['enableAjaxValidation' =&gt; false]
          ])-&gt;textInput();
  
   Modal::end();  
  </code></pre>