Generate link instead of window.open
Add required link target; remove input outline
Move client-side app into separate module file; lazy load app/module code; add versions to data schema
Change client-side record format before initial save