Fixed the button QDialog from addnewfile in centre of window when maximi...

...ze