Added Centering functions for DialogBoxes

Should make it easier to place dialogboxes