This is funny, we did the almost the same thing to our dog, took out the glass for almost 2 weeks and he got into the habit of running through the door so when we put the glass back in he thought he could still run through the door and ran smack into it
I knew dogs are stupid, but this one seems particularly weird :)
Dogs are dum.
That's not a dumb dog. That's a well-trained dog. Even with the glass out, she waited until she was allowed out the door.