Merge pull request #14332 from luke-chang/941489_v110hd_ime_not_show_after_dialog_in_browser_v2

Bug 941489 - [B2G][Helix][Browser][ChenHoulai] The inputmethod can not be pop after press home button in the 'Clear browsing history' dialog surface of browser

cherry picked from commit 2eb14d5de28b5f12ddcc50ffc4e0b74932bd4192
(Bug 814436 - Ensure clear data dialogs have warning UI)
    
Conflicts:
- apps/browser/js/browser.js
Bug 921829 - [B2G][Helix][Display][wufumin]The phone displays white screen which standby for some time

- add some log messages for testing purpose