online
online copied to clipboard
jsdialog: move more code to typescript