diff --git a/_templates/404.html b/_templates/404.html
index d9c10c1ad7e1c5d513ae50949c1613d02d04b2a1..dee429e946da734df35f91f0ad5ae0a2e08d2e92 100644
--- a/_templates/404.html
+++ b/_templates/404.html
@@ -1,4 +1,4 @@
-{% extends "!layout.html" %}
+{% extends "pydata_sphinx_theme/layout.html" %}
 
 {% set title = "Page Not Found (404)" %}
 
@@ -9,6 +9,6 @@
     <h1>{{ title }}</h1>
     <p>Oops! The page you're looking for does not exist.</p>
     <p>You can return to the <a href="{{ pathto(master_doc) }}">home page</a>.</p>
-    <p>If you believe this is a broken link, please <a href="mailto:your-email@example.com">let us know</a>.</p>
+    <p>If you believe this is a broken link, please <a data-bs-toggle="modal" data-bs-target="#feedbackModal" href="#" onclick="getFeedbackButtonhref(this)">let us know</a>.</p>
 </div>
 {% endblock %}