Hook in on the node submit.