Control of dissipative solitons in a waveguide trap