<Modal::Default @modalIsOpened={{@modalIsOpened}} @options={{@options}} @confirm={{@onConfirm}} @decline={{@onDecline}} as |options|>
    <div class="modal-body-container">
        <div class="sm:flex sm:items-start mb-6 p-3">
            <div class="mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10">
                <svg class="h-6 w-6 text-red-600" stroke="currentColor" fill="none" viewBox="0 0 24 24">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z" />
                </svg>
            </div>
            <div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left">
                <h3 class="text-lg leading-6 font-medium text-gray-900 dark:text-gray-100">
                    {{#if @options.subtitle}}
                        {{@options.message}}
                    {{else}}
                        Are you sure you want to {{@options.verb}} these {{pluralize @options.modelName}}?
                    {{/if}}
                </h3>
                <div class="mt-2">
                    <p class="text-sm leading-5 text-gray-500 dark:text-gray-50">
                        {{#if @options.message}}
                            {{@options.message}}
                        {{else}}
                            You have selected {{pluralize @options.count @options.modelName}} for {{@options.verb}}.
                        {{/if}}
                    </p>
                </div>
            </div>
        </div>
        <ul class="list-scroll-box rounded shadow border border-gray-300 bg-gray-100 dark:bg-gray-800">
            {{#each @options.selected as |selected|}}
                <li>
                    <span class="text-sm dark:text-gray-100">{{n-a (get selected @options.modelNamePath)}}</span>

                    <a href="javascript:;" {{on "click" (fn @options.remove selected)}} class="my-1">
                        <FaIcon @icon="times-circle" />
                    </a>
                </li>
            {{/each}}
        </ul>
    </div>
</Modal::Default>