A model for stealth coronal mass ejections