Return to macro after RunCommand

I have a form with a button that, on the click event, hidesthe userform and executes this line of code:

Model.Extension.SelectByID2 "DetailItem51@Sheet Format1", "NOTE",0, 0, 0, False, 0, Nothing, 0
Model.Extension.RunCommand swCommands_Edit_Text, "Edit DrawingNotes"
GUI.Hide

After the user has finished editing or entering the notes, how do Iresume the macro? I can run the command easy enough, my problem ishow to return once the user clicks on the check box in the FeatMgror deselects the note. Should I add:

Stop
GUI.Show

I'm not familiar with Stop or DoEvents; but would those be in theright direction of what I need to do? Thanks!SolidworksApi macros