Closing a web element as a layer
So, I've got a course that has five buttons on a slide's base layer. Each button triggers a different layer, and each layer contains a web element. I'm using an HTML file to call a PDF, so in essence, the web element is an embedded PDF. I've added a button to the web element layer that is supposed to hide the layer, thereby returning to the base layer with the other buttons, but that's not working. The Hide Layer button, once clicked, only hides that button; the web element/layer remains.
Is there a better way to do this? The only other thing I can think of is having each of the five buttons on the base layer lightbox to other slides containing the web element/pdf, but I'm open for suggestions as to how I can handle this issue.
Thanks in advance,