title: SweetAlert Prompt issue in bootstrap modal
body: <p>I have been trying for more than two days to run SweetAlert prompt in a modal bootstrap without success, the input is not accessible and I don't understand why. I need help please.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$("#openSWAL").click(function(){
   swal({
      title: "An input!",
      text: "Write something interesting:",
      type: "input",
      showCancelButton: true,
      closeOnConfirm: false,
      animation: "slide-from-top",
      inputPlaceholder: "Write something"
    },
         function(inputValue){
      if (inputValue === false) return false;
  
      if (inputValue === "") {
        swal.showInputError("You need to write something!");
        return false
      }
  
      swal("Nice!", "You wrote: " + inputValue, "success");
    });
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"&gt;&lt;/script&gt;
  
  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"&gt;
  &lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.css"&gt;
  
  &lt;!-- Button trigger modal --&gt;
  &lt;button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal"&gt;
    Open modal
  &lt;/button&gt;
  
  &lt;!-- Modal --&gt;
  &lt;div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"&gt;
    &lt;div class="modal-dialog" 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-label="Close"&gt;&lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;&lt;/button&gt;
          &lt;h4 class="modal-title" id="myModalLabel"&gt;Modal title&lt;/h4&gt;
        &lt;/div&gt;
        &lt;div class="modal-body"&gt;
          Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      Bla&lt;br/&gt;
      
        &lt;/div&gt;
        &lt;div class="modal-footer"&gt;
          &lt;button type="button" id="openSWAL" class="btn btn-warning"&gt;Open SweetAlert prompt&lt;/button&gt;
          &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
          &lt;button type="button" class="btn btn-primary"&gt;Save changes&lt;/button&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>