function openFileDialog(callback, openDialogTitle = null) {
  displayAsyncOpenDialog({
    title: openDialogTitle,
    filters: [{ name: 'JSON File', extensions: ['json'] }],
    properties: ['openFile'],
  })
    .then((result, bookmarks) => callback(result, bookmarks));
}
Opens dialog for selecting file (JSON)

@param {fileDialogCallback} callback
The function called after a file is selected.

@param {string} openDialogTitle
The Title for the dialog box.