title: Prevent 'showOpenDialog' from adding a recent document entry
body: <p>When I open a file using <a href="https://electronjs.org/docs/api/dialog#dialogshowopendialogbrowserwindow-options-callback" rel="nofollow noreferrer">dialog.showOpenDialog</a>, the opened file gets shown in the list of recent documents under Windows 10. Not much to say about the accompanying code, it's as simple as:</p>
  
  <pre><code>remote.dialog.showOpenDialog(...);
  </code></pre>
  
  <p>The Electron docs specifically mention how to make something show up in the recent documents list (on the <a href="https://electronjs.org/docs/tutorial/recent-documents" rel="nofollow noreferrer">Recent Documents</a> page), but make no mention about this undesired automatic behavior, nor how one would go about undoing it. I also couldn't find an issue about this.</p>
  
  <p>There are methods for clearing the entire list (<a href="https://electronjs.org/docs/api/app#appclearrecentdocuments-macos-windows" rel="nofollow noreferrer">app.clearRecentDocuments</a>), as well as adding an item to this list (<a href="https://electronjs.org/docs/api/app#appaddrecentdocumentpath-macos-windows" rel="nofollow noreferrer">app.addRecentDocument</a>), but I need to <em>remove</em> an item from this list, for which there doesn't seem to be a method.</p>
  
  <p>As a sidenote, files which were <em>not</em> associated with my app also show up in the list (and again according to the docs, for a file to show up in the list of recent documents, the association has to be made).</p>
  
  <p>So how can I do this, or just simply prevent a file from showing up as such?</p>