Chaotically modulated stellar dynamos