dataset view and edit fixes, validation for spatial field