Issue #941 fix export_privkeys_dialog, add invalid password check

This just copy/paste code from show_seed_dialog which has this check already.