My Cocker Spaniel Bella does the same thing! We have also tried giving her a special toy to play with only when people leave, treats and nothing has worked. I am working with a trainer so I will keep you posted with what we do to overcome the behavior.