add alert function for the export when export finished