GUI tool to generate Dialog code

Is there a GUI tool that can generate the macro code for dialogs such as:

Begin Dialog UserDialog 150,140,"Report Type" ' %GRID:10,7,1,1
OptionGroup .Group1
OptionButton 20,7,130,21,"Simple",.OptionButton1
OptionButton 20,35,130,21,"Colorful",.OptionButton2
OKButton 20,98,90,28
End Dialog