The dog responded to the kindness of the young child