Sí claro aquí tienes el código para generar una ventana modal usando html5 y con estilos CSS para tener un estilo moderno:
```html

    <dialog id="modalDialog">
      <h1>Título de prueba</h1>
      <button id="closeModalBtn">Cerrar el modal</button>
    </dialog>

    <button id="openModalBtn">Abrir el modal</button>

    <script>
      const openModal = document.querySelector( "#openModalBtn" )
      const closeModal = document.querySelector( "#closeModalBtn" )
      const modal = document.querySelector( "#modalDialog" )
      openModal.addEventListener( "click", () => {
        modal.showModal()
      } )
      closeModal.addEventListener( "click", () => {
        modal.close()
      } );
    </script>
    <style>
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

#modalDialog {
  border-radius: 0.375rem;
  background: rgb(2, 0, 36);
  background: linear-gradient(
    90deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(9, 9, 121, 1) 35%,
    rgba(0, 212, 255, 1) 100%
  );
  color: white;
  padding: 6px;
  font-family: "Roboto", sans-serif;
}
#modalDialog h1 {
  margin: 0;
}

#modalDialog button {
  background: none;
  outline: none;
  border-radius: 0.175rem;
  padding:2px;
  color: white;
  border-color: white;
  cursor: pointer;
  transition: all 0.3s;
}
#modalDialog button:hover {
background: white;
  color:black;
}
    </style>
```
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence