working on csv export: dialogs
csv export: logic