title: bootbox.confirm() not working properly
body: <p><strong>What is the problem with bootbox.confirm()?</strong> 
  This is my code:</p>
  
  <pre><code>var record = bootbox.confirm("Are you sure you want to delete", function (res) {
      if (res == true) {
          return true;
      } else {
          return false;
      }
  }
  });
  </code></pre>
  
  <p>It doesn't wait for confirmation and return true by default.
   if is use return false at the end to stop it from disappearing</p>
  
  <pre><code>var record = bootbox.confirm("Are you sure you want to delete", 
      function (res) {
          if(res == true)
          {
              return true;
          }
          else
          {
              return false;
          }
      }
  });
  return false;
  </code></pre>
  
  <p>then it doesn't show any action against of clicking of "OK" or "cancel"</p>
  
  <p>if i use any simple alert in true section to check behaviour it enters in true section and show simple alert  and show required value of clicked button but if use return true in same section but it doesnt work </p>
  
  <pre><code>var record = bootbox.confirm("Are you sure you want to delete", function (res) {
      if (res == true)
          alert('true');
      else
          alert('false')
  }
  });
  return false;
  </code></pre>