It is possible that she has social anxiety disorder. I am not sure how or if they treat children with it, but it might be worth looking into.
I feel for the dance teacher too. She was trying to build her up, compliment her and give her admiration from her peers, and it backfired. I hope...