Z-Index fixed position iframe showing up behind body on iOs?

I am creating a modal on wordpress website using the start it theme by cmsmasters, it works well on my android phone but on my friends iphone the iframe shows up behind the body, and he is still able to interact with it? How does z-index behaviour differ between android and ios?