title: Javascript events inside bootstrap popup (bootbox) dont work
body: <p>I´m trying create a bootstrap popup with bootbox modal, inside of form has a input text with masked input, but any events inside of popup don´t work.</p>
  
  <p>See here: <a href="http://jsfiddle.net/ens1z/UK6x5/5/" rel="nofollow noreferrer">http://jsfiddle.net/ens1z/UK6x5/5/</a></p>
  
  <p>The html:</p>
  
  <pre><code>&lt;p&gt;The mask input below WORKS great&lt;/p&gt;
  &lt;p&gt;
      &lt;input type="text" class="mask" /&gt;
  &lt;/p&gt;
  
  &lt;a href="#" class="btn btn-inverse" id="asssf"&gt;OPEN BOOTBOX&lt;/a&gt;
  
  &lt;div id="frm" style="visibility: hidden"&gt;
      &lt;div class="form-horizontal"&gt;
          &lt;p&gt;The mask input below DON´T WORK. :-(&lt;/p&gt;
          &lt;input type="text" class="mask"/&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>JavaScript:</p>
  
  <pre><code> $("#asssf").click(function (e) {
              e.preventDefault();
  
       bootbox.dialog({
                    message: $("#frm").html(),
                    title: "Custom title",         
                    buttons: {
                      success: {
                        label: "Success!",
                        className: "btn-danger",
                        callback: function() {
                              return;
                        }
                      }
                    }
              });
  
             $(".mask").mask("999-99-9999",{placeholder:"_"});
  });
  
  $(".mask").mask("999-99-9999",{placeholder:"_"});
  </code></pre>
  
  <p>How to mask works inside of popup?</p>