Might be this is not good to post in old thread, but for reference to others searchers. You can create an index in each tab might be anything like
text id="index" text="1"
and then on option you can add action as
onaction="#index.text"
Then check arguments for the action. Now for each index, you can popup another xml of your desired options. Hope this helps.