Bug fix to remove "add" variation when ending edit mode.