button now opens tab instead of nothing