While they were dancing, the telephone rang.
When the telephone rang, they were dancing.
While they were dancing, what happened?