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 e2a38a2e52244f9cb039ac4bce133346a4ed0cba)