implemented 'Event' dialog to display relevant