I found a few issues with the modal notification dialog when I was reviewing https://github.com/eclipse-theia/theia/pull/8080
close button should be Cancel. (VS Code uses Cancel),Theia as the dialog title:1.
2.
3.
to the point about the modal title, obviously it would be nice if extensions could configure the title, but the VS Code API doesn't allow that (there is no title). So since you want to keep your API consistent with theirs, maybe the title could be Information | Warning | Error
And for the button colour, it's always marked as a 'secondary' button:
https://github.com/eclipse-theia/theia/blob/master/packages/core/src/browser/dialogs.ts#L198
but it should only be 'secondary' if at least one other button is present on the modal.
to the point about the modal title, obviously it would be nice if extensions could configure the title, but the VS Code API doesn't allow that (there is no title). So since you want to keep your API consistent with theirs, maybe the title could be
Information|Warning|Error
@tetchel for the title, I believe the idea would be to use the applicationName (similarly to other places) and not hardcode the value 'Theia'.
protected applicationName = FrontendApplicationConfigProvider.get().applicationName;