I’ve done popups just in Javascript without a template component. Try this, it’s my working code with your text inserted. I think the main difference is in the first line.
$('<div />').html('The following fields are empty: ' + emptyFields.join(', ') + '. Are you sure you want to continue?').dialog({
Here’s a generalised confirmation popup function that can be added to inline Javascript and then called from snippets or inline Javascript. I’m using this routinely now.
Yes. Even with workarounds in javascript, a stock ‘Confirmation popup’ action would still be really useful. I would use it a lot more often than I do the workaround now (and my users would end up making fewer mistakes that I have to unravel).
Here’s how the popupConfirmation method I gave above can be called from a snippet:
var $ = skuid.$;<br />var dfd = $.Deferred();<br />popupConfirmation(dfd, 'Continue', 'Are you sure you want to continue?','Continue','Cancel');<br />return dfd.promise();
You can call it in a snippet that is called from a Multiple Action item. If the deferred variable is rejected, the Multiple Action items after the snippet call will not be executed.