make the dialog center