User Activity

Hello,I made a warning pop up container which "cover" all screen, but buttons under it remains active. Is there any solution for that kind of problem? (I know I can add a dummy button under the container but I think about other, more straight options...
Kudos given to