Do dogs understand when they've eaten something they shouldn't have