Added support to hide folder selector in file uploader

Signed-off-by: Tom Wright <tom@inflatablecookie.com>