The dog acts as the bridge over Grumpy's defensive walls. The audience sees that if Sunshine can love the "unlovable" dog, they can love the damaged human.
Dogs have been the inspiration for countless romantic storylines in movies, TV shows, and books. Here are a few examples: