CRM-14353 CRM-15053 - Better handler for dialog close events which accounts for esc key
CRM-15053 - Fix unsaved change warning in profile designer dialog
Merge pull request #3761 from colemanw/unsavedWarning

CRM-15053 - Fix unsaved change warning in profile designer dialog