Sync with built-in js.coder:
add AkelPad.WindowRegisterDialog() and AkelPad.WindowUnregisterDialog()