<?= Form::open(['id' => 'createForm']) ?>

    <input type="hidden" name="comment_mode" value="1" />

    <div class="modal-header">
        <button type="button" class="close" data-dismiss="popup">&times;</button>
        <h4 class="modal-title">Create</h4>
    </div>

        <div class="modal-body">
            <?= $getCustomData->render() ?>
        </div>
        <div class="modal-footer">
            <button
                type="submit"
                data-request="onCreateForm"
                data-request-data="redirect:0"
                data-hotkey="ctrl+s, cmd+s"
                data-popup-load-indicator
                class="btn btn-primary">
                <?= e(trans('backend::lang.form.create')) ?>
            </button>

            <button
                type="button"
                class="btn btn-default"
                data-dismiss="popup">
                <?= e(trans('backend::lang.form.cancel')) ?>
            </button>
        </div>

    <script>
        setTimeout(
            function(){ $('#createForm input.form-control:first').focus() },
            310
        )
    </script>

<?= Form::close() ?>
