tsk59 Fixes in the "modify event" functionalityThis commit fixes a few errors in the "modify event" functionality. Itdoesn't finished yet