Applied ESC handler to Breeding Mgr modal dialogs

GCP-9005
Reviewer: Crisjaira V.