Tabs Widget in Modal Trigger Another Tab Widget

I have an Index page that calls a modal to display the details of a record that contains a Tabs widget. Within those tabs, it can then launch another modal to display sub-details relating to the record. When the user click on the 2nd modal’s tabs it trigger the 1st tab rather than the 2nd?

Is there any way to insulate each tab set from one another?

For anyone else having this issue of one tab widget/control impacting another, the solution is very simple, simply assign an id to each widget as part of the options.

So, something like

<?= Tabs::widget([
	'items' => [
		[
			'label' => 'Components',
			...
		],
		[
			'label' => 'Software',
			...
		],
	]
]);
?>

becomes

<?= Tabs::widget([
	'options' =>[
		'id' => 'someUniqueIdGoesHere'
	],
	'items' => [
		[
			'label' => 'Components',
			...
		],
		[
			'label' => 'Software',
			...
		],
	]
]);
?>