Applied ESC handler on the forgot password window

Issue: GCP-9005
Reviewer: Mae T.