Fix duplicate Reboot dialog open

If hold down the power button it shows the reboot dialog
If hold down again the power button open new reboot dialog but the old dialog still open instead of close

Change-Id: Ib975f0646c16dba46d65bba1b7be47a15af8ccf8
Merge "Fix duplicate Reboot dialog open" into jellybean