title: Button to show choose a file to upload dialog box
body: <p>Instead of using an <code>input type="file"</code> html tag,  is it possible to bring up a <code>choose a file to upload</code> dialog box by clicking a <code>input type="button"</code>?  Then when a file is selected from the <code>choose a file to upload</code> dialog box, the file path gets inserted into a regular html <code>input type="text"</code> tag?</p>
  
  <p>I've seem that gmail does something similar but not with buttons and text inputs, they simply have a link <code>add file</code> or something like that.  When that link is clicked, it shows the <code>select file(s) to upload by mail.google.com</code> dialog box.  When a file is clicked, the file name is shown on the screen.</p>
  
  <p>How are they doing that?</p>