Attempt to avoid some test getting stuck because of model dialogs
associated with open editors, presumably left behind by other tests