Modulational instability oscillation and solitary waves in a nonlinear dispersive cavity with parametric gain