Added confirm functionality.
First draft of save as CSV.