PromptDialog uses fixed implicit width, which causes buttons to overflow. Stop re-setting implicit width in PromptDialog, and rely on the calculated implicit width from Kirigami.Dialog.
Before:
After: