disable "add item" in case edit mode is off