diff --git a/gui/dashboard/modal.svelte b/gui/dashboard/modal.svelte
index d30339e..c2c5fe2 100644
--- a/gui/dashboard/modal.svelte
+++ b/gui/dashboard/modal.svelte
@@ -7,8 +7,16 @@
function close() {
open = false;
}
+
+ function keyup(event) {
+ if (event.key === 'Escape') {
+ close();
+ }
+ }
+