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 1248d719e949c9b952003b16e03d5afab882ad47)