Dimension-Controlled Dewetting in Hydrophobic Porous Nano-Capsules