There are a lot of ways in which dogs talk through their body language. If the dog is more confident approaching other dogs, bullying other dogs around, nagging other dogs, mounting the dogs that are showing signs of submission, it is a dominant dog.
When it comes to dominance the dog will go and stand next to the dog with his tail wagging. They are more confident in this case.