OF COURSE it's not nonsense.
If you wrote the dogs bark, we'd know you had more than one dog. But if you wrote the dog's bark, we might think, mistakenly in your case, that you only had one dog
Apprendre une langue, c'est faire un voyage différent chaque jour.
from Fle pour les curieux