title: How to disable ESC key on Modal?
body: <p>i am working on a html page having an modal then if modal loads on page then if i press ESC key then modal closed , that is very unliking to me. how to prevent this.??
  please note that modal using cakephp render.
  i tried this , but not working </p>
  
  <pre><code>$(document).keydown(function(e) {
      if (e.keyCode == 27) return false;
  });
  </code></pre>