Mantis #4353 : Fix cancel dialog and resume with internal menu.