Bug 1021270 - Focus the top active window while permission dialog hide