title: Uploadcare: how to get uploaded file from openDialog?
body: <p>My scenario - I would like to open an upload dialog from my own button and get the uploaded file info. In Uploadcare JS version 0.12 I did the following:</p>
  
  <pre><code>$(".upload-image-button").on("click", function() {
    uploadcare.openDialog(null, {
      imagesOnly: true
    }).uploadDone(function(info) {
      setImage(info.cdnUrl);
    });
  });
  </code></pre>
  
  <p>In 0.16 there's no more <code>uploadDone</code> and all it does is return a promise without any data. What should I do?</p>