Use document.language directly for now.
Fix double 's.
AccountManager masquerades as a Dialog for users's AccountView, so that we can report validation errors.