title: Bootstrap modal close button doesnt work
body: <p>I have a problem with close button at my modal popup. Even if i click on x - modal is still open. But it occures while the modal is in auto open mode.</p>
  
  <p>Here it works:</p>
  
  <pre><code>    &lt;div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
    &lt;div class="modal-dialog"&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;header&lt;/h4&gt;
        &lt;/div&gt;
        &lt;div class="modal-body"&gt;
        body
        &lt;/div&gt;
        &lt;div class="modal-footer"&gt;
        Regulamin karty dostępny w salonie.
       &lt;!--  &lt;a href="#contactSlice"&gt; &lt;button type="button" class="btn btn-primary" data-dismiss="modal" aria-label="Close"&gt;footer&lt;/button&gt;&lt;/a&gt; --&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Here it doesnt work:</p>
  
  <pre><code>&lt;div class="modal fade in" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
  </code></pre>