Most of the time stuff like this is nothing, dogs are weird. But greyhounds are also super Routine Dogs. She has probably figured out that your wife is going to leave and that makes her a little anxious. Maybe make your wife leaving a fun time, like she gives your pup a great treat on her way out?