ui: properly close h4 panel title