I'm trying to upload a .pdf file via the Filemanager popup, but Images behaviour is executed. It looks like input[name=type] is missing on files view, then `lfm_type` is never set to `Files`. I'll give more info during my debugging work.