switch submission success dialog to a MessageDialog