BZ1042508: Guided Editor: When closing an asset always prompted to discard unsaved changes

(cherry picked from commit 2c3995e16cb4ce2ced84cce4b5b41c0b3395d120)