diff --git a/app/assets/javascripts/discourse/app/components/d-modal.hbs b/app/assets/javascripts/discourse/app/components/d-modal.hbs
index 5d9d1ce0077..fcb28cf6b2a 100644
--- a/app/assets/javascripts/discourse/app/components/d-modal.hbs
+++ b/app/assets/javascripts/discourse/app/components/d-modal.hbs
@@ -34,15 +34,19 @@
/>
{{/if}}
- {{#if this.title}}
-
-
{{this.title}}
+
+ {{#if this.title}}
+
+
{{this.title}}
- {{#if this.subtitle}}
-
{{this.subtitle}}
- {{/if}}
-
- {{/if}}
+ {{#if this.subtitle}}
+
{{this.subtitle}}
+ {{/if}}
+
+ {{/if}}
+
+
+
{{#if this.panels}}
diff --git a/app/assets/javascripts/discourse/app/components/sidebar/categories-form-modal.hbs b/app/assets/javascripts/discourse/app/components/sidebar/categories-form-modal.hbs
index a1052778657..988eab9b7e1 100644
--- a/app/assets/javascripts/discourse/app/components/sidebar/categories-form-modal.hbs
+++ b/app/assets/javascripts/discourse/app/components/sidebar/categories-form-modal.hbs
@@ -1,75 +1,102 @@
-
-