Sounds like she has separation anxiety. An xpen is an excellent idea. Leaving a radio on with lite soothing music is also good. I used this product for awhile when I had to confine my babies, it plugs in, and I know it helped because I watched from a webcam after leaving and there was a difference!
Comfort Zone Diffuser with D.A.P. for Dogs at PETCO