rename model to activeTabIndexModel or so