added 'save events from selected observations' function