Run a reaction on a balance. Seal the container and mass stays the same. Open it and watch what gas does to the reading.

Scenario

Container
Mass: 50.0 g

Mass is always conserved — apparent changes are just gas entering or leaving an open container.