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.