When using sp-heading long text content does not fit in dialog

I’d suggest using break-word, but I couldn’t make it work