add name of event to dialog