"Losing chlorine does not cause you to lose salt"...

Well, when the electrolysis process separate sodium chloride (salt) into sodium ions and chlorine gas, if you don't contain the gas, it will evaporate into the air.

And once it's gone, you just don't have enough chlorine to combine with sodium ions to form salt again.

This is called the law of conservation of mass and don't try to challenge it.