MZ Demo Project seems to be working for both saving the game after winning a battle and saving the game after escaping a battle. This is for RPG Maker MZ v1.8.0. Perhaps updating your version of MZ will help resolve these issues?