// if (currentSceneTitle = '' || doSaveAs ) {
// code here for input prompt for new scene title
// }
If user cancels, then do not save the scene. Ideally show warning or error message in this case to remind the user that the scene was not saved since the cancel button was pressed during title choice.
If the scene title is empty, or it's a save as event, then user browser input prompt to ask for a new scene title
Right here: https://github.com/3DStreet/3dstreet/blob/main/src/editor/components/scenegraph/Toolbar.js#L174
If user cancels, then do not save the scene. Ideally show warning or error message in this case to remind the user that the scene was not saved since the cancel button was pressed during title choice.