Clear the Hero mission of the first stage. Then comes the part that stings: you have to fail the Hero mission of the next stage.
Do that and Sonic shows up with the line "Damn, they got away! Well, don't worry about it. I'll go chase 'em down!" It's easy to miss by ear, but turn on captions and the text will confirm it.