It's easy to teach your puppy "Bye-bye". First, take a kind of puppy's favourite foods above his head, raise the food more higher continually, puppy will stand up spontaneously, and hold out his two forelegs, which is the right pose "Bye-bye"
at this time, keep on holding the food, which induces the puppy to stretch his forelegs, meanwhile, say "Bye-bye" to him. Repeat that several times, then give him a little tasty food as a reward and stroke his head to praise.
After a while of training, you can stroke the puppy only, without a food reward. Once the conditioned reflex is established, the puppy will stand up and hold out his forelegs when he hear "Bye-bye".