HUE-1152 [oozie] Can't select a file

Fixes infinite loop on Firefox
Now filechooser modals are closed when you click on a file