('');
+ const view = !html && o.append?.length === 1 ? o.append[0].node : document.createElement('div');
+ view.classList.add('dialog-content');
if (o.class) view.classList.add(...o.class.split(/[. ]/).filter(x => x));
for (const [k, v] of Object.entries(o.attrs?.view ?? {})) view.setAttribute(k, String(v));
if (html) view.innerHTML = html;
@@ -90,9 +124,10 @@ export async function domDialog(o: DomDialogOpts): Promise