Bugfix for Overwrite dialogue