title: Electron App webview.printToPDF() "Save As..." Dialog
body: <p>I am creating an Electron App that uses is a wrapper for a Web App by using a <code>&lt;webview&gt;</code> element.</p>
  
  <p>I am wanting to allow the users to create a PDF of any page by simply clicking a Button and selecting where to save the PDF.</p>
  
  <p>The code in the Electron examples allows for saving in a hardcoded location every time.</p>
  
  <pre><code>document.querySelector("#pdf").onclick = function () {
      webview.printToPDF({}, (error, data) =&gt; {
          if (error) throw error
              fs.writeFile('/tmp/print.pdf', data, (error) =&gt; {
          if (error) throw error
              console.log('Write PDF successfully.')
          })
      });
  };
  </code></pre>
  
  <p>This works fine but will save in the same location every time and does not allow the user to select a location or name.</p>
  
  <p>Is there an option to show a "Save As..." dialog?</p>