T.P.
It sounds as if she could be feeling anxious or maybe a little overwhelmed at moving up a grade and having her work and responsibilities increase. I used to sleep walk or wake up thinking I was in a classroom doing work. I was in 8th grade then and it just so happens at that age I wasn't aware that I was having overwhelming feelings and if someone would have asked me I still don't think I would have known there was a problem. I can look back now and say as an adult that moving into 8th grade for me was a challenge because there came more homework, more class work, and the work was a little more challenging. Whether she is doing well in school and she loves school there can still be subconscious thoughts of needing to get things done and do well.