Added ability to add a name to the events created in the addEventDialog box