Convergence of solutions to nonlinear dispersive equations