export table when clicking on feature