Prevented closing the cricket player editor window from causing the
entire app to close