refactored editConfirm event

reduced editConfirm event size since events automatically get passed
into named event handler functions