Escape dismisses publish dialog