session: Implement poweroff and reboot in dialog