More Work on Dialog System

I am continuing my trek to transcode Direct3D and DirectX to openGL from
some DXUT code.