<p dir="auto">I would like to be able to capture (or cancel) the native file open dialog.<br>
It is possible for 'download/save' by catching the 'will-download' event. I would like the same for the file selection.</p>
<p dir="auto">Basically I need to control all native UI element (popup, dialogs, ...).<br>
Does it make sense?</p>
<p dir="auto">thanks.</p>
<ul dir="auto">
<li>Electron version: 1.1.0</li>
<li>Operating system: N/A</li>
</ul>
<p dir="auto">Currently there isn't any way to remove dialog boxes (such as ones created through <code class="notranslate">dialog.showMessageBox</code>).  This can be useful in, for example, "Keep Waiting" dialogs.  After the window becomes responsive again it would be great if we could programmatically close the dialog.</p>