mac: Implement dialog.showErrorBox