refactors exporting to xls controller logic to prevent unlazy loading when html