Maybe you should try and train her to do stuff like "sit" "stay" when people leave? Make her focus on you instead of the person leaving...??