title: bootstrap modal closes when ok on alert() is clicked
body: <p>Bootstrap modal is closing when I click on "Ok" button showing from "alert()" function.</p>
  
  <pre><code>$("#expample").modal({
      backdrop: 'static',
      keyboard: false,
      show: true
  });
  </code></pre>
  
  <p>Below is my jquery:</p>
  
  <pre><code>$('.sendToUser').on('click', function (){
              var selectedLyrics = $('#selectedLyricsInput').val();
              if($("input[name='selectUserRadio']").is(":checked") == false){
                  alert('Please, select a user to send.');
                  return;
              }
          });
  </code></pre>
  
  <p>Although, hitting "Enter" or "Esc" on keyboard is working fine and also, clicking outside the modal; the modal is not closing which is fine.</p>
  
  <p>Below is my html:</p>
  
  <pre><code>&lt;div class="modal fade" id="userSelectionModal" tabindex="-1" role="dialog" aria-labelledby="userSelectionModal"&gt;
      &lt;div class="modal-dialog modal-likes" role="document"&gt;
          &lt;div class="modal-content"&gt;
              &lt;div class="modal-header"&gt;
                  &lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;&amp;times;&lt;/button&gt;
                  &lt;h4 class="modal-title"&gt;Select User&lt;/h4&gt;
              &lt;/div&gt;
  
              &lt;div class="modal-body"&gt;
                  &lt;div style="margin-bottom: 50px;" id="populateUsers"&gt;
  
                  &lt;/div&gt;
                  &lt;input type="hidden" id="selectedLyricsInput" value="" /&gt;
              &lt;/div&gt;
  
              &lt;div class="modal-footer"&gt;
                  &lt;button type="button" class="btn btn-success sendToUser" data-dismiss="modal"&gt;Send&lt;/button&gt;
                  &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
              &lt;/div&gt;
              {{--&lt;i class="fa fa-spinner fa-spin"&gt;&lt;/i&gt;--}}
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I am creating an alert popup from an event on the modal but when clicked on the "ok" of the alert() popup, it disappears.</p>
  
  <p><strong>How to prevent closing of the modal after clicking on "OK" on the alert popup?</strong></p>
  
  <p>Thanks</p>