remember if dialogs had been opened