You can hide button contains the 'X' icons (lucide-x) using Tailwind's JIT and attribute selectors. Use this utility: [&_button:has(svg.lucide-x):hidden in the DialogContent classname
lucide-x
[&_button:has(svg.lucide-x):hidden