button showing up and tab opens on click