Improved the centering of the dialog box

No matter what size enz... Gotta love flexboxes...