Fix linting issues, close secondary toolbar when clicking in viewerContainer.