dialog boxes in 4.10

I had a sinple but handy script in 4.8 that relied on the old gdialog for boxes, but in 4.10 gdialog appears not even to be installable. Moreover, the dialog boxes in 4.10 are very high quality, and I would like to think about duplicating those myself.