A facility for managing documents displayed by an application is described. The facility displays multiple tabs, each corresponding to a document loaded by the application. The facility receives a document stowing command in connection with a distinguished document to which one of the displayed tabs corresponds. For each of the documents to which a displayed tab corresponds, based on the contents of the document, the facility semantically determines one or more subjects of the distinguished document. At least in part in response to receiving the document stowing command in connection with the distinguished document, for each of two or more subjects determined for the distinguished document, the facility displays a visual indication of the determined subject. The facility receives user input selecting one of the displayed visual indications. The facility hides the tabs corresponding to the documents for which the subject indicated by the selected visual indication was semantically determined.