fix time selection dialog