Soliton-like electromagnetic modes: modulation of nonlinear band edge and field distribution