title: Change Bootstrap modal option once it already exists
body: <p>I'm using <a href="http://getbootstrap.com/javascript/#modals" rel="noreferrer">Bootstrap Modal</a>. I declare it, I call it, I show it...everything seems to be ok.</p>
  
  <p>But what if I have an already existing modal previously shown with "keyboard" property to false and I want to change it on the go?  I mean something like:</p>
  
  <p>First, I create a Modal doing this (as you can see, I declare the modal putting keyboard property to false):</p>
  
  <pre><code>$('#myModal').modal({
      show: false,
      backdrop: true,
      keyboard: false
  });
  </code></pre>
  
  <p>But then I declare this event handler, that means that if "something" happens, I want the keyboard property to be set to true.</p>
  
  <pre><code> $('#myModal').on('shown', function(e) {
      if (something){
          $('#myModal').modal({keyboard: true});
      }
   }
  </code></pre>
  
  <p>So, when I go</p>
  
  <pre><code>$("#myModal").show();
  </code></pre>
  
  <p>The event handler is not doing what it is supposed to, as I am not getting to close the modal once Escape key is pressed.  But I am completely sure that "something" is true and I have checked and re-checked that <code>$('#myModal').modal({keyboard: true})</code> is executed.</p>
  
  <p>Any clue as to why this isn't updating the value of configuration option?</p>