When dark mode is turned on, text color of the buttons in some dialogues (including dialogues in some apps) is coinciding with the dialogue's background color and therefore button text is hard to read.
Probably default text color of the buttons in dialogues should be chosen with regard to the background color of the dialogue.
Example of one such dialogue is below:
Screenshot with dark mode turned off.
Screenshot with dark mode turned on.