Apparently it's hard to tell the difference if you're untrained. Seems like calling for help if you are concerned about the safety of a dog or kid is reasonable, even if it means you could be wrong.
Once they arrive, and hopefully the owner arrives, explain yourself (you were acting in good faith, etc.) and try and make sure the police don't go overboard.