add close button to export