JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://github.com/makeusabrew/bootbox/releases/download/v4.3.0/bootbox.min.js"></script>
<a class="openModal1" href="#">Modal 50%</a>
<br /><br />
<a class="openModal2" href="#">Modal 100%</a>

CSS

.modal1 > .modal-dialog {
    width:50% !important;
}

.modal2 > .modal-dialog {
    width:100% !important;
}

JavaScript

$(".openModal1").click(function (e) {
            bootbox.dialog({
                message: " \
        <table class='table table-hover'> \
            <thead> \
                <tr> \
                    <th>Item Name</th> \
                    <th>Location</th> \
                    <th>Path</th> \
                    <th>Last Update</th> \
                </tr> \
            </thead> \
            <tbody> \
                <tr> \
                    <td>Item 1</td> \
                    <td>Navbar - Level 2</td> \
                    <td>Products - blabla</td> \
                    <td>Added by xxx on 05 Aug 2014</td> \
                </tr> \
            </tbody> \
        </table>",
                title: "Search Results",
                buttons: {
                    main: {
                        label: "Close",
                        className: "btn-primary"
                    }
                },
                className: "modal1"
            });
        });

    $(".openModal2").click(function (e) {
            bootbox.dialog({
                message: " \
        <table class='table table-hover'> \
            <thead> \
                <tr> \
                    <th>Item Name</th> \
                    <th>Location</th> \
                    <th>Path</th> \
                    <th>Last Update</th> \
                </tr> \
            </thead> \
            <tbody> \
                <tr> \
                    <td>Item 1</td> \
                    <td>Navbar - Level 2</td> \
                    <td>Products - blabla</td> \
                    <td>Added by xxx on 05 Aug 2014</td> \
                </tr> \
            </tbody> \
        </table>",
                title: "Search Results",
                buttons: {
                    main: {
                        label: "Close",
                        className: "btn-primary"
                    }
                },
                className: "modal2"
            });
        });