Sorry to hear. Sounds like he got worse than me. I got a chance to de-escalate the situation.
But precisely this. Don't mind the dog wanting to play, that's what they do, but just have it under control and not jump up on everyone. Or don't have it at all.