Added saving of node after editing.