Meets #2393: No warning when leaving site without saving

* `#2393` Fix: No warning when leaving site without saving