<div class={{concat "with-confirmation" (if confirming " confirming" "")}} ...attributes>
{{yield}}
<YieldSlot @name="action" @params={{block-params (action "confirm") (action "cancel")}}>
{{#if (or permanent (not confirming))}}
    {{yield}}
{{/if}}
</YieldSlot>
<YieldSlot @name="dialog" @params={{block-params (action "execute") (action "cancel") message actionName}}>
{{#if confirming }}
    {{yield}}
{{/if}}
</YieldSlot>
</div>