I’m guessing he meant whether there was a function like
XF.Confirm()
that took title, message, confirmUrl, rejectUrl as arguments and produced that HTML behind the scenes
Which to be fair would not be the worst idea, though I don’t think it exists already.