Forward Sensitivity Analysis and Mode Dependent Control for Closure Modeling of Galerkin Systems