add and delete event, notes dialog