var tabs = mini.get(tabsName);
var tab = tabs.getTab(index);
var tabName = tab.title.replace(/\(.*?\)/g, '');
var baseNumber = tabs.tabs.filter(obj => obj.hasOwnProperty("title") && obj["title"].indexOf(tabName)>=0).length;
var obj = {title: tabName + "" + (baseNumber + 1), showCloseButton: true};
obj = tabs.addTab(obj);
var body = tabs.getTabBodyEl(tab);
var el = tabs.getTabBodyEl(obj);
body = body.outerHTML.replace(/.base./g,".base["+baseNumber+"].");
body = body.replace("ajgxForm","ajgxForm"+baseNumber+"");
el.innerHTML = body.replace("none","");