improve element editor dialog, tree view, loading sequence, etc