fixed hasUnsavedChanges check to include newDisplayName. fixes #250