Just trying to fix that via z-index of the respective divs displaying the hamburger. But the modal is overlaying it no matter what the z-index is. The reason I want to accomplish that, is that in case of the animated Hamburger (from the design library) it transforms nicely to a close button on click, and I want to keep that close button visible above the modal (which I need to cover 100% of the screen), and I want to avoid to define a different close button in a different place within the modal for UX reasons.
If so, position:fixed creates a new stacking context, thus it’s the fixed parent that will have to have a higher z-index than the modal.
You might want to review the nesting of your hamburger element in this case.
Thanks for your recommendation, but did not help, even setting the overall header section’s z-index to a value above that one of the modal, does still put the modal above. Must something inherent with a modal functionality in general to prevent what I intended to do