Solutions of NaOH should be kept capped or the NaOH will react with CO2 in the atmosphere to ultimately produce Na2CO3. The end result is that the molarity of the NaOH will substantially change over time. There appears to be a two step reaction that leads to the production of Na2CO3
H2O + CO2 -> H2CO3 (note that CO2 is an acid anhydride)
H2CO3 + 2 NaOH -> Na2CO3 + 2H2O (neutralization reaction)
To learn the details of this demonstration see this site [local]. To see this phenomenon, fill a 2 L PET (polyethylene terephthlate)soft drink container with water and displace water by generating CO2 (or use a lecture bottle of CO2) into the 2L bottle by water displacement. Add 30 mL 6M NaOH into the bottle and recap it or stopper it tightly. Shake the bottle and watch it collapse. Using 6 M NaOH requires the use of goggles and careful handling.