function busyPortsDialog (port1, alt1, port2, alt2) {
  hideOtherWindows()
  const opt = showDialog({
    title: i18n.t('busyPortsDialog.title'),
    message: i18n.t('busyPortsDialog.message', { port1, alt1, port2, alt2 }),
    type: 'error',
    buttons: [
      i18n.t('busyPortsDialog.action', { port1, alt1, port2, alt2 }),
      i18n.t('quit')
    ]
  })

  return opt === 0
}
Dialog to show when there are two busy ports and we offer an alternative.

@param {Number} port1 is the busy port 1
@param {Number} alt1 is the alternative free port 1
@param {Number} port2 is the busy port 2
@param {Number} alt2 is the alternative free port 2
@returns {boolean} use the alternative port