I am curious as to the following:

How do I loop a dialog? As to say I've got a text box dialog that is supposed to act as a "User Check" meaning that they will read through a bunch of screens that have very important information about my project then get stopped by the user check which basically says "Please enter the following in the box below: I UNDERSTAND THE LIMITATIONS OF THIS INSTALLER." If the user enters that exact phrase regardless of case so long as it looks like "I UNDERSTAND THE LIMITATIONS OF THIS INSTALLER" then proceed, else display an error and go back to the user check to try again. Give the user 3 chances at the check and if they fail, 3 times then display an error and quit.

I think I've got it but just want to check that I'm doing so right:
1. Define the Edit Data dialog and store edit 1 in some variable
2. if %_SB_DIALOGNEXTID% = $USER-CHECK$ then
>>>> Set a variable FailCount = 0
3. loop 3 times if some variable does not equal (ignore case) "blah blah blah" then display message, increment FailCount by 1 and cycle loop
3. ElseIf FailCount is 3 or greater display error then exist setup

Again I think I might have it in the wrong order but I hope I have the concept right and just need a bit of guidance