...and use that one instead of confirm_form().
This would be the first step to implementing #3769. It would basically have the same functionality as confirm_form(), with the difference being that this would open a dialog on the same page where a form is being submitted, instead of loading a confirmation page, and then redirecting back to the original form where the user started from.
GitHub Issue #:
3771
Recent comments
I tried it and it worked. Thank you very much.
[current-page:title] token in Custom Block
I think if you use the Token Block modules it should work better as it recognises the context it is in.
[current-page:title] token in Custom Block
Thank you, I did clear the cache, but have now realised the hosting platform had its cache service enable.
Maintenance mode not working