For the example you linked to, I think Kristina has explained the meaning in her comment.
Shoana suggests that dance, as a metaphor, simply means "succeeded", but I wouldn't expect a metaphor like this to have such a simple translation.
You originally referred to a different example - danced his way out of prison - which may not fit either of these interpretations.
Dance sometimes is referred to as "fancy footwork". Here is what the Free Dictionary Online says about fancy footwork. The third definition might fit you example:
- (literally) clever and intricate dance steps. The old man was known for his fancy footwork when he was on Broadway.
- (literally) adroit movements of the feet that help someone retain balance or move through treacherous territory. It took some fancy footwork to get down the mountain carrying the injured child.
- (figuratively) a clever and intricate strategy that helps someone get out of trouble. The governor did some fancy footwork to keep from getting blamed for the scandal.
"Dancing" is used similarly as when someone is in trouble making a case or justifying their statements. They might have to do some "fast dancing" or "do a tap dance" (think fast and act fast) to bolster their position . This expression can also be taken negatively to mean to create a distraction and avoid scrutiny.
While Johnny Burgess might have become a talented dancer, and thereby escaped a life of poverty, I have a difficult time seeing how that talent (literally) would help someone get out of prison. I would guess that you were not aware of the clever strategy definition of dance, and didn't recognize that the Johnny Burgess story may not really fit your context. That being said, you might want to say more about that specific context, just so we can be sure.
"Walk" is another "escape" metaphor that you might be interested in. To say that a prisoner or criminal suspect "walks" can mean (Free Dictionary) that they are released from custody or acquitted of a crime. It's possible that "dance out of prison" is a variation of "walk out of prison", with the added notion of cleverness on the prisoner's part.