The titles path is shown in hierarchical mode when the dialog is closed, added two types of closed dialog templates