[frontend][html] Adds HTML file, dialogs, bug fixes

* Adds a separated file instead of embedding HTML in the Go code
* Adds support for dialogs (`okCancelDialog` returns not supported for now)
* Several bug fixes
* Refactors the Javascript frontend API