Text this: On the analysis of modes in a closed electromagnetic waveguide