Fix data edit dialog
Simplify indexes for data edit. Fix VectorField widget.