f your modal dialog looks like this
<div id="myModal" class="modal hide fade" tabindex="-1" ...>
....
</div>
Removing tabindex=”-1″ should disable Escape key.
Ref. Link – https://stackoverflow.com/questions/16693079/how-to-disable-escape-key-for-twitter-bootstrap-modals