<?php

declare(strict_types=1);

/**
 * @var string $preview
 * @var string $title
 */

?>
<?= view('modals/header', ['title' => $title]) ?>

<div class="modal-body">
    <?= $preview ?>
</div>

<?= view('modals/footer-close') ?>
