'Are you sure?' action

Ryan, your Snippet approach could return a jQuery Deferred Promise, which you would resolve / reject when the user clicks button(s) on the popup, following the approach described in this post:

https://community.skuid.com/t/block-ui-and-show-message-until-sforce-connection-remote…

For example, here we have a “Yes I’m feeling crazy” button that will resolve the Promise and allow subsequent Actions in sequence to occur, as well as a “Cancel” button that will reject the Promise, calling any On-Error Actions defined:

var $ = skuid.$;
var params = arguments[0];
var dfd = $.Deferred();

$(‘’).text(“Are you sure you want to do this?”).dialog({
resizable: true,
height: 180,
modal: true,
buttons: {
“Yes, I’m feeling crazy”:function(){
$(this).dialog(“close”);
dfd.resolve();
},
“Cancel”: function(){
$(this).dialog(“close”);
dfd.reject();
}
}
});
return dfd.promise();