Add modal zindex reference in variables