Removed redundant code to close the Add new event dialog