fix password dialog, for imported wallets