Add IDs to delete/edit event elements