app/templates/components/modals/confirm-action.hbs
{{#bootstrap/bs-modal id=modalId onClose=onClose as |modal|}}
{{#modal.body}}
{{#if hasBlock}}
{{yield}}
{{else}}
<h4 class="text-xs-center">
{{#if title}}
{{title}}
{{else}}
{{t "reaction-modal.modals.confirm.check"}}
{{/if}}
</h4>
{{#if text}}
<p class="text-xs">
{{text}}
</p>
{{/if}}
{{/if}}
{{/modal.body}}
{{#modal.footer}}
<button class="button button--primary btn-lg btn-block" onclick={{action "onConfirm"}}>
{{t "reaction-modal.modals.confirm.button"}}
</button>
{{/modal.footer}}
{{/bootstrap/bs-modal}}