If the primary field text is long enough, it can result in something like the image below:
The title should fit nicely in the modal title.