Modal Randomness Induced by Boundary Conditions