added sortable columns
made dialogueline query read only