Refine passphrase dialog