I was looking up the spec for the hidden attribute, and it seems its not supposed to be used this way (ie. to hide an overlay or tab). So I just changed it to a class property.

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#hidden