Editor: Warn if title change is unsaved

closes #3643
- TitleScratch is compared with Title; if there’s a difference, we have
unsaved changes and open up the modal.
Merge pull request #3650 from felixrieseberg/iss3643-2

Editor: Warn if title change is unsaved