Added s save dialog box, saves csv files