@furos: Thanks for the quick response. That helped a lot.
I ended up with this __init__:
super().__init__(transient_for=parent,
message_type=message_type,
buttons=buttons,
text=text)
That solved all issues.