"Are You Sure?" Pop-ups

I've pointed you in the right direction & included an example flow, but I don't intend to write the code for you...
Especially if you are developing a flow to shut down a fuel cell in a emergency situation, you need to be confident that it will work as intended.
The javascript in your function node falls well short, and a lot of work is needed for this to work as intended.

Good luck

Paul