JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/jquery-ui.css" type="text/css" />

<!-- utility Pop Up divs -->
<div id="choose_product" title="Choose a Product" style="display:none;">
    <button id="sel_insert">Insert</button>
    <button id="sel_label">Label</button>
</div>

JavaScript

$('button').button();

$('#choose_product').dialog({
            autoOpen: true,
            show: "blind",
            hide: "explode",
            modal: true,
            buttons: {
                Cancel: function(){
                    $(this).dialog("close");
                }
            }
        });