Optimize account and set-passphrase dialogs