A dog behaving like a human