Custome Liquid Code in Custom Liquid Section with z-index higher than still under showing header

Here is what the custom liquid code looks like as a popup window but it is still hiding under the header how to show them on top of it. If I place the code inside the code editor it works ok.