The docs cover the node's html file: https://nodered.org/docs/creating-nodes/node-html
You can use the
oneditsave functions in the node's definition to trigger any custom behaviour you want in the edit dialog.
Thanks @knolleary, appreciate the help. It was right there in front of me.