make escape cancel the publish dialog
cross-browser fixes
Merge pull request #394 from secretrobotron/escape-dismisses

Escape dismisses publish dialog