added MasterPasswordDialog