BatchBuild ignore closeEvent should not save states