Jan, do you mean for improvisation, where, when you are finished the solo, you want to trigger to go to the Coda to end?
If so, this would require a major rewrite of the player as currently it creates the entire song in its memory, before it starts playing.