Adds edit form for events.