Id('input');
    const msgEl = document.getElementById('msg');

    const params = URL.parse(window.location.href).searchParams;

    // Set input default value
    const defaultValue = params.get('defaultValue');
    if (typeof defaultValue === 'string' || defaultValue instanceof String) {
      inputEl.defaultValue = defaultValue;
    }

    // Set dialog message
    const msg = params.get('msg');
    msgEl.textContent = msg ?? '';

    function sendToVersoAndClose(action) {
      // Use as an IPC between