Use home icon for closing note editor and check for unsaved changes