Thanks for the information. I'll throw out what ideas I'd probably try myself and use what you will if it seems as if it will work for you and your dog:
Usually bright terriers require a lot of activity and exercise. I think Britster here said it first on YorkieTalk and I wholeheartedly concur, whoever said small dogs don't need a lot of exercise and activity was an idiot because most high-energy terriers in good physical and psychological health need a lot of both to work out their high levels of prey drive, natural terrier aggression, energy and anxieties(they get living hand-to-glove cooped up with us in apartments and homes most of the day).
These are just some thoughts from my perspective as one reading a tiny bit about her but I would exercise her way more, take her on longer walks where she has to walk very, very fast during the last half of the walk, enrich her life by getting her puzzle games and toys to keep her busy eating her own meal from those rather than a dish during this rehab period which will often take a small dog up to 45 minutes to get all of the bits of kibble and food from a series of Kong toys and keeps them running about, batting the kong about until it gives up more food and licking it, taking it to their special place and licking out the meat or canned food. Beats a bowl for a high-energy dog bored to tears while we're eating in another room.
Puzzle games and hiding treats or toys about the house are also games that keep them engaged and active anytime during the way, working to find their treasure. You guide them through by pointing to each piece of kibble or toy until they get the hang of it and in time, their nose takes over and they learn to scent out the objects or food. They love this game. Puzzle toys where they have to manipulate a series of trap doors or pop openings open to get the treats out also keeps dogs happily busy. The work and attention and activity working to get the rewards keeps them active and focused on something other than you all and what you are doing that much.
When you sit down to eat, give her her dinner in the kitchen or den in a series of kong toys or a series of puzzle games to find and get her food out. You'll have to show her how at first and keep it fun, act very excited when she gets a piece of food out, even when you've opened the hidden compartment for her. After a time or two, leave her with it and she'll start to work to get that food out. She'll work hard, especially if you sit close by and encourage her, baiting her to "Get that food! Go for it!" and coaching and egging her on. During mealtimes, she'll be busy "hunting" and "foraging" for her food while you enjoy yours in most cases - especially if she skips breakfast the first day or two only. Don't worry, unless she is ill, she won't be injured by skipping breakfast for 4 hours and it will set her up to be very very very interested in focusing in on her puzzle bowls or kong toys to get out her lunch and she won't be as motivated to bark for attention and companionship as you eat.
If you can, for a while, just to shake her associations up a bit and reset her patterns, confine her to a different area with her kongs and puzzle games while you eat if you can to disassociate her confinement with her old, worrisome behavior and give her a fresh start.
I would not close the door between her family(her pack) and her. Dogs eat together within sight of one another in the wild in most cases. I'd put up a decorative gate or fence so she still feels included in the family. Most Yorkies are very offended by a closed door - which your syntax seems to imply.
Better still, with proper obedience training, you can train her how to lie quietly during mealtimes and say nothing about your eating experience, though I prefer to give my dog its own meal or a kong toy if I'm enjoying a meal in his presence but he's never allowed to intrude on my mealtime. Still, even if he's not given something to play with or eat or a puzzle bowl, he's been happily trained to respect my mealtime and do his own thing because he knows he's got me most of the rest of the day and night so he's not missing out on a thing and he usually gets a "What a gooood boy" and a pet and even sometimes a treat after I leave the table as a marker for his good behavior.
As a last resort, you might also see if the old "You've Won The Prize!" type training will work for her once she's done foraging from her kongs/puzzles and should the barking start up while you are still eating. However, good, upbeat, fun obedience training will gain better control of her and make her happy to stay quiet and calm during your dinner or when friends visit.
http://www.yorkietalk.com/forums/gen...d-barking.html
If she's losing interest in obedience training toward the end, shorten the sessions and increase the number per day for a few weeks until she's actually obeying you in all areas of her behavior, make them far more upbeat and fun, give the commands in a happy, upbeat voice and make the positive-reinforcement for getting the command correct a big, big deal with lots of high, squeak-voiced praise and smiling and hand-clapping. Change her treat rewards to a higher value treat - something she wants badly. Fake the excitement if you have to but keep her engaged and wanting to do the next trick for that great, happy and prideful reaction from you and that wonderful treat she's going to get. Keeping training like a fun game keeps the dog interested and wanting more, not wanting to opt out unless they are very old, injured or ill.
You can easily train her to Bark on command and then just as easily to learn to go Quiet on command as part of her obedience training. (If you want, I'll tell you how I did it but it was only part of a whole program mentioned here, which I feel is necessary if you want a well-behaved, happy dog.) Train her to Leave It and teach her the meaning of No and those commands can also help with the occasional barking she might do in the future, as even the most well-trained, happy dogs will bark at times we want them to be quiet so they need commands they have been well-trained to happily and readily WANT to respond to when they hear them - knowing they will be generously praised and treated for exercising control of one of their very most basic instincts in life of the domesticated dog - that of barking. I make a very big deal of Tibbe going "Quiet" on command. He gets serial treats and lots of praise and smiles and a happy dance. He's been trained to enjoy that every bit as much as he does barking most of the time. He's still a happy, frisky dog and not 100% perfect but he's dang near it - all through a lot of fun training and bonding we've done through that training. Proper positive-reinforcement obedience training can reshape a dog's behavior and makes him a total joy to live with when.
Sorry this is long but it's just a series of things I'd probably do to reshape this little girl into a happy, calm yet bubbly little pet whose well-pleased with behaving.