Use wpda.confirm to show a confirm dialog box using your app style.
Usage #
wpda.confirm(title, message, callback)
The parameter message supports HTML.
Confirm box awaiting user input followed by an alert #
wpda.confirm(
"My Confirm",
"Message from confirm",
(() => wpda.alert("My Alert", "Message from alert"))
)