<div class="modal fade" id="delete_modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="btn btn-secondary close" data-bs-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">Delete Confirmation</h4>
            </div>
            <div class="modal-body">
                <form id="delete_site_form" name="delete_site_form" action="<?php echo FTM_WP_INSTALL_PREFIX; ?>/wp-admin/admin.php?page=ftm-geo-target-sites"  method="post">
                    <fieldset>
                        <div class="form-group">
                            <h4>Are you sure you want to delete this site?</h4>
                        </div>
                        <br>
                        <div class="form-group">
                            <p>By deleting this site, you will also delete it's option fields values. Make sure you are 100% sure, you want to delete this, otherwise, you will have to re-enter the data later on.</p>
                        </div>
                        <!-- Allow form submission with keyboard without duplicating the dialog button -->
                        <input type="hidden" name="site_delete_id" id="site_delete_id">
                        <input type="submit" id="diag_form_submit" tabindex="-1" style="position:absolute; top:-1000px">
                    </fieldset>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-bs-dismiss="modal">Close</button>
                <button type="submit" form="delete_site_form" class="btn btn-primary">Delete Site</button>
            </div>
        </div>
    </div>
</div>
