function displayAsyncDialog(options) {
  return ipcRenderer.invoke('display-async-dialog', options);
}
Displays an async dialog box

@param {Electron.MessageBoxOptions} options
Options for creating a dialog box

@returns {Promise<Electron.MessageBoxReturnValue>}
The returned value (possibly number) as promise