~T~, i get exactly what you mean, but i have my little girl and she is a right brat for going up to dogs and wanting to stoke them, however you have to teach them to ask if its ok first.
i understand a two year old may not be able to, but if a child is showing a interest in a dog, whatever...