UI for the export to CSV, and filter by date range