Publish dialog does not close on bad safety_check