fix enter/esc key listening bug in Opera
Merge pull request #1154 from tuff-ghost/issue_3380b

3380b: modal boxes don't close on enter/esc keypress in Opera