We had a Cairn Terrier that would do that.
When she was really happy she'd smile so hard that it would tickle her nose and make her sneeze!
Cairn terriers are wonderful animals. We had one all the way back in the 1960s. A drunk driver killed it. My mother still gets tearful remembering that dog.