Selected tab index
Select tab after adding
Contents for {{tab}} tab