You can use visual maxscript to start with but after a bit of practice I think it is quicker just to write it yourself.
I agree, it is much better to explicitly state the position and size of all UI elements than rely on align and across. I don’t know why the examples in the help are rarely written this way.
(
rollout test1 "Group Test" width:320 height:95
(
groupBox gb1 "Group Box 1:" pos:[10,5] width:145 height:85
button bt1 "Populate Scene" pos:[20,25] width:125 height:25
button bt2 "Light Scene" pos:[20,55] width:125 height:25
groupBox gb2 "Group Box 2:" pos:[165,5] width:145 height:85
button bt3 "Optimize" pos:[175,25] width:125 height:25
button bt4 "Make Art" pos:[175,55] width:125 height:25
)
createDialog test1
)