From c383b2b246a7393ef8d5b23cc91f207c729593e9 Mon Sep 17 00:00:00 2001
From: Oliver Walters <oliver.henry.walters@gmail.com>
Date: Sun, 5 May 2019 00:38:19 +1000
Subject: [PATCH] Bug fix for modal question box

---
 InvenTree/templates/modals.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/InvenTree/templates/modals.html b/InvenTree/templates/modals.html
index 75f5bacb4a..05c8c2a894 100644
--- a/InvenTree/templates/modals.html
+++ b/InvenTree/templates/modals.html
@@ -51,7 +51,7 @@
                 <div class='modal-form-content'>
                 </div>
                 <div class='modal-footer'>
-                    <button type='button' class='btn btn-default' id='modal-form-cancel'>Cancel</button>
+                    <button type='button' class='btn btn-default' id='modal-form-cancel' data-dismiss='modal'>Cancel</button>
                     <button type='button' class='btn btn-primary' id='modal-form-accept'>Accept</button>
                 </div>
             </div>