fix ok/cancel handling in Sleep Timer Dialog