Add code for saveEvent
Log ID of the newly created event
Editing existing works with new values. Prefill missing.