yeah I think youve missed the point of the system I explained. The group I explained handles all the details in general for any dialog. You then just assign the values you currently need for the dialog to variables and enable the group.
If properly designed the group will then handle whatever dialog is setup by the variables