nonlinear Schr\"odinger equations, confining potential, dynamics, solitons, Hamiltonian systems, stability, modulation, energy estimates