updated the setValue and click handler functions in elfinder_type to include the instance id. Also updated the Controller to pass the id to the elfinder_widget so it can execute the setValue function with the right id. 
setValue should still work when no id is passed.