You might have code that dynamically creates dialogs or it might just be a more convenient way to loop through a lot of dialog controls without having to hard-code IDs.
Either way it could be useful.
Spelling mistakes, grammatical errors, and stupid comments are intentional.