GoogleChrome/dialog-polyfill — pull request #10 by agektmr (2013-12-15 07:50:49+00:00)
Title: ESC key support + 'cancel' event

- encapsulated entire code
- added ```ESC``` key support to cancel modal dialog
- fires ```cancel``` event before ```close``` on canceling modal dialog