New cavity-mode model for the dynamic Josephson tunneling states