Pause macro, then restart based on user UI interaction

You can do this with If_v2 command using statusOK to check or onerror command

Here you find some examples