emit createMessage event on click with ISO date string for event time