The dog's mouth is open like he is yawning.
a dog is yawning
the dog's mouth is open as he is yawning
"A dog is yawning" is a rephrase of "The dog's mouth is open like he is yawning."
The dog's mouth is open like he is yawning so it should be yawnimg.