Global go to previous block?

Does anyone have a sensible way to include a “go to previous block” type behaviour? I have a fairly large project now and the ability to go back to the previous message would be very useful.

I thought originally about setting a “previous_block” variable for each text block, and then using that dynamically following a “go to previous” intent. So when the user says “go back”, the intent goes to whichever block was set as “previous_block” at that point in the dialogue. The problem with this is I don’t believe block IDs can be set dynamically.

Does anyone have an alternative way to achieve this?