title: bootbox.confirm dose not display the message and page crashed
body: <p>I'm new to bootstrap.I'm trying to show confirm message with bootbox format after click on delete btn .I know that bootbox.confirm need callback function so I utilize result and checked if its true then show it.I expect to see this: Are you sure to delete this customer?  but after click noting happen and browser just freeze and I have to refresh it again. 
  this is all my code:</p>
  
  <pre><code>&lt;h2&gt;Customers&lt;/h2&gt;
  @Html.ActionLink("ADD New Customer", "CreatNewCustomer", "Customer", new { @class = "form-control" })
  @if (!Model.Any())
  {
      &lt;p&gt; there is no customer&lt;/p&gt;
  
  }
  else
  { 
      &lt;table id="Customers" class="table table-bordered table-hover"&gt;
          &lt;thead&gt;
              &lt;tr&gt;
  
                  &lt;th&gt;Customers&lt;/th&gt;
  
                  &lt;th&gt;Discount Rate&lt;/th&gt;
                  &lt;th&gt;Delete &lt;/th&gt;
              &lt;/tr&gt;
          &lt;/thead&gt;
  
          &lt;tbody&gt;
              @foreach (var Customer in Model)
          {
  
              &lt;tr&gt;
                  @*&lt;td&gt;@Customer.Name&lt;/td&gt;*@
                  &lt;td&gt;@Html.ActionLink(Customer.Name.ToString(),"Edit","Customer",new {id=Customer.CustomerID },null)&lt;/td&gt;
                  &lt;td&gt;@Customer.MembershipType.MembershipName&lt;/td&gt;
                  &lt;td&gt;
                      &lt;button data-customer-id="@Customer.CustomerID" class="btn-link js-delete"&gt; Delete&lt;/button&gt;
                  &lt;/td&gt;
  
              &lt;/tr&gt;
  
  
  
  
          }
      &lt;/tbody&gt;
  &lt;/table&gt;
  }
  @section scripts
  
      {
  &lt;script&gt;
      $(document).ready(function () {
  
          $("#Customers .js-delete").on("click", function () {
              bootbox.confirm("Are you sure to delete this customer?", function (result) {
                  if (result) {
                      var butten = $(this)
                      $.ajax({
                          url: "/api/customer/" + butten.attr("data-customer-id"),
                          method: "Delete",
                          success: function () {
                              console.log("success"),
                                  butten.parents("tr").remove();
  
                          }
  
  
                      })
                  }
              })
  
  
      })
      })
  &lt;/script&gt;
      }
  </code></pre>
  
  <p>Main part is here:</p>
  
  <pre><code> &lt;script&gt;
          $(document).ready(function () {
  
              $("#Customers .js-delete").on("click", function () {
  var butten = $(this);
                  bootbox.confirm("Are you sure to delete this customer?", function (result) {
                      if (result) {
  
                          $.ajax({
                              url: "/api/customer/" + butten.attr("data-customer-id"),
                              method: "Delete",
                              success: function () {
                                  console.log("success"),
                                      butten.parents("tr").remove();
  
                              }
  
  
                          })
                      }
                  })
  
  
          })
          })
      &lt;/script&gt;
  </code></pre>
  
  <p>I can't get what's wrong with that.
  When I use bootbox.confirm my code not works but when I use confirm alon like this: </p>
  
  <pre><code>&lt;script&gt;
          $(document).ready(function () {
  
              $("#Customers .js-delete").on("click", function () {
  var butten = $(this);
                  confirm("Are you sure to delete this customer?", function (result) {
                      if (result) {
  
                          $.ajax({
                              url: "/api/customer/" + butten.attr("data-customer-id"),
                              method: "Delete",
                              success: function () {
                                  console.log("success"),
                                      butten.parents("tr").remove();
  
                              }
  
  
                          })
                      }
                  })
      })
  
          })
      &lt;/script&gt;
  </code></pre>
  
  <p>my code works. I have installed bootbox version 4.3.0 and set in my bundle config like this :</p>
  
  <pre><code>bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                        "~/Scripts/bootstrap.js",
                        "~/Scripts/bootbox.js",
                        "~/Scripts/respond.js"));
  </code></pre>
  
  <p>And I use vs 2017
  Hope someone help me.</p>