When select a grid or dynamic surface in the Project Explorer and select 'Export' and then to 'ASCII', as seen below:
You can Click on 'Export'and the file is exported. When you change settings and click on 'Export' again the previously exported file is overwritten without warning
Show a message informing the user that the file already exists and that continuing will overwrite the already existing file.
Example message when exporting a QPD: