add visual error when selecting invalid file and go back to first view when dragging file in browser