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