Refactored to have one dialog
Created ChartPanel; made attributes table part of ChartPanel
Fixed bug with table selection when reordering rows