Modal is hidden behind slider

Hi, im trying to create a pop-up modal that will show up if you click the buy now button.
its a pop-up with fixed positioning and with a darker background, so that the pop-up will look standout. but somehow, if you scroll down to the slider section, it looks like this

is there any way i could hide/put the slider behind the pop-up modal?

Webflow - DJAMUJAMU Official

Change the z-index of your modal to something higher than 0.

that works! thank you!