modal for extract shapefile attribute table to text file