---
title: "Discussion on \"Replace your modals with <dialog> (or don't)\" | Hashnode"
description: "Discussion on \"Replace your modals with <dialog> (or don't)\". The dialog element has been around for a while, and the key question is: Can it effectively replace all modal elements of various types and designs? The short answer is yes. However, there are several reasons why you should not rush to prepare for th..."
url: "https://hashnode.com/posts/replace-your-modals-with-dialog-or-dont/65441dcd28bffdb326d64709"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Replace your modals with <dialog> (or don't)](https://blog.tomaskorec.com/replace-your-modals-with-dialog-or-dont?utm_source=hashnode&utm_medium=feed)

The dialog element has been around for a while, and the key question is: Can it effectively replace all modal elements of various types and designs? The short answer is yes. However, there are several reasons why you should not rush to prepare for th...

Nov 2, 2023 · 4 min read · blog.tomaskorec.com  
Updated Nov 5, 2023  
Read the article

-   [#html](https://hashnode.com/tag/html)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#coding](https://hashnode.com/tag/coding)
-   [#dialog](https://hashnode.com/tag/dialog)
-   [#dom](https://hashnode.com/tag/dom)

## Written by

[Tomáš Korec](https://hashnode.com/@tomkorec)

@tomkorec

  
[View profile](https://hashnode.com/@tomkorec)

Full Stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
