-convert PromptForPasswordDialog into a DialogFragment