messageReturn := append([]byte("Your message is: "),message)
let newW = null;
for (let i = 0; i < phrases.length; i++) {
dialogs[i].classList.add('checked');
if (newW !== null) {
newW.addEventListener('load', function() {
newW = window.open(location.href + '?sel=' + dialogs[i].dataset.listId);
}, true);
} else {
newW = window.open(href + '?sel=' + dialogs[i].dataset.listId);
}
}