If someone comes to the door and she is over excited we will send her either to her mat or the living room crate depending on her excitement level. Also having the mat portable so it can go from room to room or easily taken with you wherever you go.
It is important to teach your dog to be able to set down for all concerned.
The dog will be less stressed you and your quests can have a visit without being bugged 24 /7 for attention
I used a clicker to train Newla to go to her crate or her mat it was fun positive with lots of treats.
The clicks and treats were weaned and now it just mat or crate and stay = HAPPINESS