Shouldn't this be done before the dialog? In that case we might also want to issue a warning before overwriting (we didn't bother when overwriting a *.wifi-menu file.