Remove redundant code for centering (QDialog doesn't need it)