export button is active after applying query, if no result, export is disabled