Adding dialog for power management (with bugs)