She was in the mood to dance.

Literal

She [topic-は] dance-want feeling was.

~たい気分だった — 気分 (きぶん, 'mood, feeling') combines with ~たい to express 'was in the mood to do X.' A natural way to describe a passing desire.