comboMode.addSelectionListener(new SelectionAdapter(){
public void widgetSelected(SelectionEvent evt){
IDOMElement mode = ClickUtils.getElement(clickApp, ClickPlugin.TAG_MODE);
if(comboMode.getText().equals("")){
if(mode!=null){
mode.removeAttribute(ClickPlugin.ATTR_VALUE);
if(mode.getAttributes().getLength()==0){
clickApp.removeChild(mode);
}
}
} else {