XBEditor: Added context type selection in adding item dialog