Let her scratch, it sounds like she's trying to dig a burrow. You may toss in an old tshirt, rag, or kitchen towel with her. Just make sure it's clean.
When you say "turn the lights off" are you turning all light off, or just the ones in her viv? Dragons can't really sleep with ANY lighting, red, blue, white... color really doesn't matter and it really messes up their sleep.