On the dynamic response of flexible walls retaining a dissipative, dried or fluid-saturated porous media