add waiting dialog while check for reboot