diff --git a/web/ajax/modals/shutdown.php b/web/ajax/modals/shutdown.php
new file mode 100644
index 000000000..a461f0074
--- /dev/null
+++ b/web/ajax/modals/shutdown.php
@@ -0,0 +1,68 @@
+'.implode('
', $output).'
You may cancel this shutdown by clicking '.translate('Cancel').'
'.PHP_EOL; +} + +$cancel_btn = ''; +if ( isset($_POST['when']) and ($_POST['when'] != 'NOW') and ($action != 'cancel') ) { + $cancel_btn = ''.PHP_EOL; +} + +?> +