twbs/bootstrap — pull request #15252 by JackEllis (2014-11-29 13:44:34+00:00)
Title: Fixed issue where escape key wasn't firing correct events

When the escape key is pressed, the hide() method was being called instead of hideModal(), therefore it's not firing the hide.bs.modal event. I've changed it to hideModal() and it now fires the expected events.