Undo/Redo Option in Server Action

Hi.
Working on server actions I sometimes tend to delete the wrong step or global variable.
Having an option to undo such deletions or redo the undos, would be a great addition to the server action UI.

image

Having the option just for “add”, “duplicate” & “delete” operation would be a great start.
Maybe in future, it could even “undo” a change made in the properties of a step.
And even further, it could be used to undo changes saved in steps like query builder, custom query etc.