diff --git a/AppImage/components/script-terminal-modal.tsx b/AppImage/components/script-terminal-modal.tsx
index 659b93d..0c9f648 100644
--- a/AppImage/components/script-terminal-modal.tsx
+++ b/AppImage/components/script-terminal-modal.tsx
@@ -510,7 +510,12 @@ export function ScriptTerminalModal({
>
{currentInteraction.title}
-
{currentInteraction.message}
+
").replace(/\n/g, "
"),
+ }}
+ />
{currentInteraction.type === "yesno" && (
diff --git a/AppImage/components/ui/dialog.tsx b/AppImage/components/ui/dialog.tsx
index 5c95c56..5b7884d 100644
--- a/AppImage/components/ui/dialog.tsx
+++ b/AppImage/components/ui/dialog.tsx
@@ -31,8 +31,10 @@ DialogOverlay.displayName = DialogPrimitive.Overlay.displayName
const DialogContent = React.forwardRef<
React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, children, ...props }, ref) => (
+ React.ComponentPropsWithoutRef & {
+ hideClose?: boolean
+ }
+>(({ className, children, hideClose, ...props }, ref) => (
{children}
-
-
- Close
-
+ {!hideClose && (
+
+
+ Close
+
+ )}
))