Install
openclaw skills install @danrudy33/openclaw-dashboard-skill-modal-patchRepair the OpenClaw Control UI Skills modal when clicking a skill row does nothing and DevTools shows a showModal InvalidStateError because the dialog is not yet in the document.
openclaw skills install @danrudy33/openclaw-dashboard-skill-modal-patchUse this skill when the OpenClaw dashboard Skills page becomes non-responsive and clicking a skill row fails to open the detail modal.
DevTools shows:
InvalidStateError: Failed to execute 'showModal' on 'HTMLDialogElement': The element is not in a Document.
Open the live bundle:
nano /opt/homebrew/lib/node_modules/openclaw/dist/control-ui/assets/skills-m2TVOQPH.js
Search for:
showModal()
Replace:
${r(e=>{!(e instanceof HTMLDialogElement)||e.open||e.showModal()})}
with:
${r(e=>{if(!(e instanceof HTMLDialogElement)||e.open)return;let t=()=>{if(e.open)return;try{e.showModal()}catch{setTimeout(()=>{try{e.showModal()}catch{}},0)}};e.isConnected?t():setTimeout(t,0)})}
Save the file and exit.
Hard reload the dashboard:
Cmd+Shift+RClick a skill row and confirm the modal opens.
skills-*.js bundle referenced by DevTools.