The dog saw her opportunity to sneak back through the front of the house and grab the person's sandwich off the table.
Consider adding a towel or something with your scent on it. Feed them in the crate. Create a command to use when training your dog to go into the crate. This could be something like “crate,” “kennel ...