Dialog confirm
A decision block that shows a message and lets the user confirm.
The fiber will pause until the user has confirmed, cancelled the dialog
or the timeout expired.
Input arguments
- Title — dialog title.
- Message — dialog message.
- Yes button — text in yes button, default is “OK”.
- No button — text in no button, default is “Cancel”.
- Timeout — time until the dialog is automatically canceled, default is no timeout.
- Show window — whether to show the dialog window directly without having to tap the notification. Only works when no other window is showing.