code: function openDialog (url) {
    const width = socialshares.config.dialog.width
    const height = socialshares.config.dialog.height
  
    // Center the popup
    const top = (window.screen.height / 2 - height / 2)
    const left = (window.screen.width / 2 - width / 2)
  
    window.open(url, 'Share', `width=${width},height=${height},top=${top},left=${left},menubar=no,toolbar=no,resizable=yes,scrollbars=yes`)
  }
docs: Popup window helper