Passwords matched before encrypting. Appropriate errors/messages shown.
Added a modifiable attribute to Modal.prompt to make it suitable for accepting passwords.
Accepting passwords using Modal.prompt and then loading document.