Stability of bubbles in a closed volume of liquid‐gas solution