function cannotConnectToApiDialog (addr) {
  hideOtherWindows()
  showDialog({
    title: i18n.t('cannotConnectToApiDialog.title'),
    message: i18n.t('cannotConnectToApiDialog.message', { addr }),
    type: 'error',
    buttons: [
      i18n.t('quit')
    ]
  })
}
Dialog to show when the daemon cannot connect to remote API.

@param {string} addr