Adding the node to the form state.