In Unity, pressing CTRL+S or CMD+S will always save the scene first. The UI Builder simply hooks in that flow for additional saving work, but cannot change that this is the default behaviour. If there are changes in the scene, it will try to save it first, so for ideal workflow it's better to work with an already saved scene.