Admin schedule settings were not saving when closing dialog box.