Efficient Handling of Dialogs in Next.js? - Theo's Typesafe Cult