finished attribute table and layer interactivity