HUE-1543 [core] Consolidate Filechooser plugin

Solved possible null exception
Improved style and added spinner