Record undo checkpoint before paste or delete.