title: How do you enable the escape key close functionality in a Twitter Bootstrap modal?
body: <p>I followed the instructions for the <a href="http://twitter.github.com/bootstrap/" rel="noreferrer">Twitter Bootstrap modal on their main documentation page</a> <br/> and used the <code>data-keyboard="true"</code> syntax mentioned but the escape key does not close the modal window.<br/>  Is there something else I'm missing?</p>
  
  <p>Code:</p>
  
  <pre><code>&lt;a href="#my-modal" data-keyboard="true" data-toggle="modal"&gt;Open Modal&lt;/a&gt;
  
  &lt;div class='modal fade hide' id='my-modal'&gt;
    &lt;div class='modal-body'&gt;
      &lt;div&gt;Test&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>