Ext.getCmp("gridTabPanel").add(new FR.components.editForm({title:"Add Group",layout:"form",defaults:{width:250},autoScroll:true,items:[{xtype:"textfield",fieldLabel:"Group name",name:"name",value:""},{xtype:"textarea",fieldLabel:"Description",name:"description",value:""},{xtype:"userslistfield",name:"users",allItemsText:FR.T("[All users]"),value:"",showSelf:true,allowAll:true,fieldLabel:"Users",tcfg:{height:200,width:250}}],tbar:[{text:"Add Group",cls:"fr-btn-primary",ref:"saveBtn",handler:function(){var editForm=this.ownerCt.ownerCt;var opts={url:FR.URLRoot+"/?module=user_groups&section=cpanel&page=add&action=add",maskText:"Saving changes..."};editForm.submitForm(opts)}}]})).show();