how to put a dialog in the center of the screen

Printable View