More cleanup of selection handling
More cleanup of selection handling

jupyter/jupyter-js-filebrowser,jupyter/jupyter-js-filebrowser,jupyter/jupyter-js-filebrowser,jupyter/jupyter-js-filebrowser,jupyter/jupyter-js-filebrowser