tabIndex and activeTab can be reduced to "isActive" (the same to createTabPanel)