Bug 1042508 - Guided Editor - when closing as asset always asks "Are you sure you want to discard unsaved data" even if nothing has been changed

(cherry picked from commit 7fec4319af23d50d48b3cde6c3290195a8e68fb8)