A dog is being taught a trick