added jqueryui tabs to edit template