checking for unsaved editor content added
added checking for unsaved data when opens properties panel