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 43f14c9ce0edf60768b5bea24ca5ec246e7650eb)