The head is one of the leading communication tools a dog will use to let other dogs know what it's thinking and feeling. The head consists of several body parts and each one is used in conjunction with the others to send the memo about its intentions: the position of the head, what the eyes are doing, the position of the ears, what the dog's mouth is doing. In a wonderful book by one on my favorite authors, How to Speak Dog, Stanley Coren gives it to us step-by-step. When we learn to put it all together, we can understand what our dogs are telling us.
The mouth of a dog gives plenty of information on how the dog may be feeling. It can tell you if the dog is angry or fearful, if something is interesting, or "Hey, I am totally relaxed." A relaxed dog will have relaxed facial muscles with the mouth slightly open. Just the simple act of closing that mouth or a slight change in the head position and the dog is telling us it is interested in something else and evaluating the situation.