I went through the example of creating a modal with tabbed content at the below link
however, the example shows one button that opens one modal. I tried to have two buttons in the same page which each one of them will show its own modal content but I got stock.
The second button does not display its content unless I press on its tab.
The code after I modify it looks like the following: (I also attached an image that shows the issue I am having)
<meta name="viewport" content="