Wyze Gun Safe

Has anyone mounted the safe to a wall and what did you use to keep a gun from falling out when you open it. I was thinking of using a strong magnet pad.