How can I go about detecting if the file input dialog is currently open?
I\'m trying to integrate some file upload functionality into a popup (bootstrap style) model
I do not believe you actually have direct control over the dialog itself. In some browsers such as FF people have been able to manipulate the dialog to an extent but this does not apply to all browsers and all browser versions.
The easiest way to do this is to disable the shortcut key on the model dialog before opening the file window.