Confirm Modal

<.confirm_modal
  id="confirm-modal-single-delete-project"
  message="This action cannot be undone. The project and all related records will be removed."
  title="Delete project"
  variant="danger"
  confirm_text="Delete"
  cancel_text="Cancel"
 />
<.confirm_modal
  id="confirm-modal-single-server-validated"
  message="The confirm action pushes an event and stays open so the server can validate before closing."
  title="Archive workspace"
  variant="danger"
  on_confirm={%JS{ops: [["push", %{event: "validate-archive"}]]}}
  confirm_text="Validate archive"
  cancel_text="Cancel"
 />