-Probable fix for double dialog display in ThemeScheduler