USB and onboard wireless shares the same 5V power supply and they is why maybe the
modem uses too much power and drops the connection when the onboard wireless is
used.
You could try to use USB HUB with external power supply to check if it works
better.