A web developer's blog
One thing I came across while setting up modals was some strange behavior around the close button. Twitter Bootstrap's documentation reads:
<button class="close" data-dismiss="modal">x</button>
Which sets up a small x button to remove the modal. If your modal has a form in it, however, when the enter key is pressed, it would dismiss the modal rather than submit the form. I would set up the dismiss button as a link (anchor) instead to avoid this.