Confirmation before engaging the socket button

Hello, could you show me a flow that displays a confirmation message (yes or no) when I press a button? My goal is that when I press the “Restart Internet Box” button, it asks me if I’m sure, and if I respond “yes,” it initiates the restart of the socket. I would like to create this to prevent accidental button presses

A big thank you to you for your quick response, it works perfectly. Have a great day!