changed the csv export button so that it downloads to straight to the browser