Sometimes we want to use custom code to display messages or another plug-in like United Codes SweetALert2 Pro.
In order to achieve this goal we've added an additional action, "Custom (event ucwarnunsaved)," which triggers the plug-in event "Warn about page changes" (ucwarnunsaved).