Thanks for this…it indeed works.
It appears that you can use capture / restore in separate actions but not in the same individual action