if you had been moving right along less attention would have been paid to the doors .
there is more to it than just distracting and getting focus , the dog has to deal .
next time you go , visit the same place but this time when the door opens you walk in , head for the nearest exit , or if there is no entry foyer , then do an about turn and come right back out.
the motion is exciting and the dog doesn't focus on what it is uncomfortable with, plus you have the focus and obedience , which you reward , win win win.
how old is the pup.
seems like there is some sensitivity