Closes #10898.
Don't stop non-looping samples immediately when pausing
The issue was the ArchiveModelManager change; the test local change is just there because it makes more sense to run for every test in that scene.
Prompt to save changes when exiting the editor