I read that scene more as Dani
a. Commiserating with a fellow teacher/mentor
b. Showing off her emotional intelligence, and most of all
c. Showing how much more highly evolved Dani is by offering empathy to a **** that cast her out after traumatically losing her powers
In short, Dani is the best