A dog is a dog. They're more likely to draw aggro from a bear and bring it to you than warn you of the presence of another threat. This is one of the reasons that when hiking you're advised to keep your dog on a leash. My state government is pretty open about that risk.
The image of a dog MMO style Leroy pulling a bear causing you to wipe on a hike wasn't a laugh I was expecting to find on a discussion about drowning and hiking misadventures