[Refactor] Replace `openDialog` with `window.open`
[Refactor] Replace `openDialog` with `window.open`

Calling `openDialog` with variable parameters can result in potential security vulnerabilities if the variable contains a remote URI.

moisseev/spamness,moisseev/rspamd-spamness,moisseev/rspamd-spamness