Run a reaction on a balance. Seal the container and mass stays the same. Open it and watch what gas does to the reading.
Mass is always conserved — apparent changes are just gas entering or leaving an open container.