only showing the export button when there are things to export