JSFiddle - React, Tailwind, and code Playground

HTML

<form id="myform" action="index.php" method="post" onsubmit="">
    <div><label>Name:</label> <input type="text" name="form[name]" /></div>
    <div><label>File:</label> <input type="file" name="form[file]" /></div>
    <div><input type="submit" value="SUBMIT" /></div>
    <a href="#" class="close">Close</a>    
</form>

<a href="#" class="imagebrowse">Image Browse</a>

CSS

#myform { 
    background:#ddd;
    -moz-border-radius:5px;
    border-radius:5px;
    padding:10px;
    display:none;
    position:absolute;
    z-index:10;
}

JavaScript

$(".imagebrowse").click(function() {
    $('#myform').fadeIn('fast');
});
$(".close").click(function() {
    $('#myform').fadeOut('fast');
});