Replaced browser prompts by bootstrap popups for master password
regarding issue #1