Close the sidebar rename when clicking on the main-view. Did not bind on the "body" because it seems that clicking the "rename" element from the right-click menu on items is considered a click and automatically closes the rename input.