Refactor #10106 Add tab pane to template var edit
http://tracker.modx.com/issues/10106