Changed how Forgot Password determines when to show the modal dialog