Cancelling an edit rolls back any changes to the batch.
Saving edited batches.
Add name indexes to lookup tables.