Improved CenteredFileDialog

- moved overwrite confirmation into CenteredFileDialog