Edit/delete event fully functional