She's gonna try to eat all the babies especially if you're around a lot harassing her and the babies. Hamsters are dumb and if they think someone is going to harm them or their babies they beat you to the punch and do it first because they're handicapped.
If you want to avoid her Flash Mobing her babies, try not to ever touch the babies or her after birth, try to have contact with them as little as possible don't stand around poking them or playing with them, just feed them when needed and gtfo.