<!doctype html>
<title>Picker window</title>
<form name="form1">
<input type="file" name="uploadbox" id="uploadbox" onclick="window.clicked = true;">
<input type="file" name="multiple" id="multiple" multiple onclick="window.clicked = true">
</form>