It may be as simple as having "toggle Switch A ON" after the chest opened, and page 2 with switch A on, no text (or "the chest is empty") and only the image of an opened chest.
If that's not it, can you post screenshots of your event?
Original thread: https://forums.rpgmakerweb.com/threads/switches-and-variables-part-one.348/