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

please add `// XXX: need AppWindowManager to focus the active app after dialog closed`
so we can remember to remove it once its in app window