Close a window from WindowLocator