I watched a special on the discovery channel where they explained incemination and gestation of dogs. The reason their butts stick together after the "doin' it" part (pardon my phrase) is so another dog can't come in and plant his pups in with the others, so to speak.
I love the discovery channel. And animal planet.