Show dialog node

Hi all,

I recently did a fresh install of node red and dashboard. The 'Show Dialog' node seems to be missing.
The weird thing is, I imported a flow that I had from the previous version of dashboard which has a 'Show Dialog' node and it works (almost, see next question) even though it's not available from the node selection on the left. Any ideas why this may be?

I am using the 'Show Dialog' node to give the user an option to confirm if they want to change settings. But if I press OK or CANCEL the payload still gets sent. Any ideas why this may be happening?

Many thanks

Is that now (or perhaps always was) the Notification node?
If it is then the Cancel button should send a payload containing whatever label you have defined for the Cancel button.

If you post the flow you imported (please read this before posting the flow), we might be able to determing the actual node it is using

[{"id":"219cd04d.1085d","type":"ui_button","z":"87331cb3.aef4c","name":"","group":"f4e9d720.7ccd58","order":1,"width":0,"height":0,"passthru":false,"label":"Set wired network to DHCP","tooltip":"","color":"","bgcolor":"","icon":"","payload":"-","payloadType":"str","topic":"","x":220,"y":480,"wires":[["eea96657.84b618"]]},{"id":"5c486c4f.057cb4","type":"exec","z":"87331cb3.aef4c","command":"sudo nmcli con up ClockWiredDHCP","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"","x":790,"y":480,"wires":[,,]},{"id":"eea96657.84b618","type":"ui_toast","z":"87331cb3.aef4c","position":"dialog","displayTime":"3","highlight":"","sendall":true,"outputs":1,"ok":"OK","cancel":"GO BACK","raw":false,"topic":"Are you sure you want to change network settings to DHCP?","name":"","x":490,"y":480,"wires":[["5c486c4f.057cb4"]]},{"id":"f4e9d720.7ccd58","type":"ui_group","z":"","name":"Wired network connection settings","tab":"4d170cf6.0833f4","disp":true,"width":"9","collapse":false},{"id":"4d170cf6.0833f4","type":"ui_tab","z":"","name":"Network","icon":"dashboard","order":4,"disabled":false,"hidden":false}]

Sorry, Ill try that agin

[{"id":"219cd04d.1085d","type":"ui_button","z":"87331cb3.aef4c","name":"","group":"f4e9d720.7ccd58","order":1,"width":0,"height":0,"passthru":false,"label":"Set wired network to DHCP","tooltip":"","color":"","bgcolor":"","icon":"","payload":"-","payloadType":"str","topic":"","x":220,"y":480,"wires":[["eea96657.84b618"]]},{"id":"5c486c4f.057cb4","type":"exec","z":"87331cb3.aef4c","command":"sudo nmcli con up ClockWiredDHCP","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"","x":790,"y":480,"wires":[[],[],[]]},{"id":"eea96657.84b618","type":"ui_toast","z":"87331cb3.aef4c","position":"dialog","displayTime":"3","highlight":"","sendall":true,"outputs":1,"ok":"OK","cancel":"GO BACK","raw":false,"topic":"Are you sure you want to change network settings to DHCP?","name":"","x":490,"y":480,"wires":[["5c486c4f.057cb4"]]},{"id":"f4e9d720.7ccd58","type":"ui_group","z":"","name":"Wired network connection settings","tab":"4d170cf6.0833f4","disp":true,"width":"9","collapse":false},{"id":"4d170cf6.0833f4","type":"ui_tab","z":"","name":"Network","icon":"dashboard","order":4,"disabled":false,"hidden":false}]

@Colin The notification node only has an input while the Show Dialog node has an input and output.

It is the notification node. I just hadn't selected the Show Dialog option in the node settings.
Still confused why it's passing the command when pressing cancel (or 'go back')

Ok, you have a node in the flow that looks like it came from node-red-contrib-mdashboard. If you don't have node-red-contrib-mdashboard I assume you made the export when you did have it installed.

One of it's nodes was ui_toast which

Shows msg.payload as a popup notification or OK / Cancel dialog
message on the user interface.

That is why it is missing. You can remove that node from the flow and use the dashboard notification node or try something like node-red-contrib-sysmessage in its place.

Thank you for your reply. I used the notification node with a switch node after it that passes OK and blocks CANCEL. Works perfectly.

Thanks for the help!!