title: Bootstrap Modal not working in Chrome
body: <p>All,</p>
  
  <p>I'm having an issue with bootstrap 3 modal not working properly in Chrome or Edge. The modal works fine in FireFox. Note! The modal does eventually display for a split second before the second modal "message" is displayed (which works fine in all browsers).</p>
  
  <p>Here is the HTML for the modal:</p>
  
  <pre><code>&lt;!-- Spinner modal --&gt;
      &lt;div class="modal fade" id="spinner" role="dialog"&gt;
          &lt;div class="modal-dialog"&gt;
              &lt;!-- Modal content--&gt;
              &lt;div class="modal-content"&gt;
                  &lt;div class="modal-header"&gt;
                      &lt;button type="button" class="close" data-dismiss="modal"&gt;&amp;times;&lt;/button&gt;
                      &lt;h4 class="modal-title"&gt;Processing&lt;/h4&gt;
                  &lt;/div&gt;
                  &lt;div class="modal-body"&gt;
                      &lt;div class="row"&gt;
                          &lt;div class="col-md-12"&gt;
                              &lt;p&gt;Your payment is being processed. Please do not close your browser window or click the back button. Doing so may incurr multiple charges.&lt;/p&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                      &lt;div class="row"&gt;
                          &lt;div class="col-md-12 text-center"&gt;
                              &lt;img src="../images/icons/spinner.gif" /&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class="modal-footer"&gt;&lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>What is supposed to happen is that when an ajax call fires the spinner modal should be displayed while the web service is running. It should stay on the screen until the complete event runs. Here is the complete listing of the ajax call. In all instances the web service runs fine and returns a JSON string.</p>
  
  <pre><code>// Record the payment
      jQuery.ajax({
          type: "POST",
          async: false,
          url: "/payments.asmx/ProcessPayment",
          contentType: "application/json; charset=utf-8",
          data: JSON.stringify({
              _paymentRecord: payment
          }),
          dataType: "json",
          "beforeSend": function () {
              // Display the wait graphic
              $("#spinner").modal("show");
          },
          "success": function (data) {
              // some code goes here which was removed to make the listing readable
          },
          "error": function (jqXHR, textStatus, errorThrown) {
              alert("Error executing web service: " + jqXHR.responseText);
          },
          "complete": function () {
              // Hide the spinner modal
              $("#spinner").modal("hide");
          }
      });
  </code></pre>