Have you ever seen a poster that says: "Dogs are welcome, children should be on a leash." This seems like the perfect example of when to use it.
Parents who do not teach their children how to approach a dog are very irresponsible and may put their kids in danger because some pups get over excited with the sudden movements of a child.