When our dog is outside, she tells us she wants in by pushing the sliding screen door to the side. I think she must have done it at some point, it got our attention (the door makes a noticeable, distinct sound when it slides), and we let her in, then that made her realize that doing that would make us let her in. It really isn't that hard to train a dog to do something like that.