You need to practice what we always called the "meet and greet". Get a friend with a dog who is calm, walk toward each other, put dogs in sit, shake hands, walk away. Later, put dogs in sit, shake hands, ask to treat the other dog, treat the other dog while friend treats your dog (only while sitting quietly), then turn and walk away. Eventually the goal is to get your dog to sit quietly while you greet another person with a dog. It takes time - one lady in class called it the "No! Sit!" exercise as she had a wheaten terrier that was not well controlled because she never practiced. LOL! Socialization will help with the "Yay another dog" excitement. This is an exercise ideally taught while they are young but can work with an older dog - it just takes a little more work and strength. A Gentle Leader head collar may help.
Snake Vom Eselspfad RN CGC (AKA Raina) 3/5/08
Pyrate CGC 4/1/03-5/16/12 RIP
Too many to list waiting at the bridge but remembering them all