Applied ESC handler to workbench modal dialogs

Issue: GCP-9005
Reviewer: Mae T.