Use filename is name is blank

- In upload action set document.name = filename is name has not been
provided
Add actions to document search