diff --git a/cards/templates/cards/_card_item.html b/cards/templates/cards/_card_item.html
index 99145a9..bb1154b 100644
--- a/cards/templates/cards/_card_item.html
+++ b/cards/templates/cards/_card_item.html
@@ -61,7 +61,7 @@
-
+
diff --git a/cards/templates/cards/_card_preview_design1.html b/cards/templates/cards/_card_preview_design1.html
index 6e2d249..883fe83 100644
--- a/cards/templates/cards/_card_preview_design1.html
+++ b/cards/templates/cards/_card_preview_design1.html
@@ -44,20 +44,20 @@
diff --git a/cards/templates/cards/_card_preview_design2.html b/cards/templates/cards/_card_preview_design2.html
index 2528e2d..2ff1365 100644
--- a/cards/templates/cards/_card_preview_design2.html
+++ b/cards/templates/cards/_card_preview_design2.html
@@ -43,20 +43,20 @@
diff --git a/cards/templates/cards/_card_preview_design3.html b/cards/templates/cards/_card_preview_design3.html
index 808427b..487ba22 100644
--- a/cards/templates/cards/_card_preview_design3.html
+++ b/cards/templates/cards/_card_preview_design3.html
@@ -49,20 +49,20 @@
diff --git a/cards/templates/cards/_card_preview_design4.html b/cards/templates/cards/_card_preview_design4.html
index e6a8992..d6ea28e 100644
--- a/cards/templates/cards/_card_preview_design4.html
+++ b/cards/templates/cards/_card_preview_design4.html
@@ -104,20 +104,20 @@
diff --git a/cards/templates/cards/_card_preview_design5.html b/cards/templates/cards/_card_preview_design5.html
index 66c8861..e6d1b3f 100644
--- a/cards/templates/cards/_card_preview_design5.html
+++ b/cards/templates/cards/_card_preview_design5.html
@@ -52,20 +52,20 @@
diff --git a/cards/templates/cards/base.html b/cards/templates/cards/base.html
index 87a8012..d844823 100644
--- a/cards/templates/cards/base.html
+++ b/cards/templates/cards/base.html
@@ -140,7 +140,7 @@
{% block content %}{% endblock %}
-
+ {% if modal_fragment %}{{ modal_fragment|safe }}{% endif %}