Block sending any notification to menuEditcontrol instance after accepting closeEvent on mainWindow. #370