>
                <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>

                <button type="button" class="btn btn-primary" data-dismiss="modal" onclick="setVariable()">Set</button>
            </div>

        </div>
    </div>
</div>