Insert a new node on form submit