After discussion with @frrrances, I've decided to get the name rendered for the component and use that as the title of the modal. That way you always see "Editing: foo" when clicking on the component labeled as "foo". This means that I don't have to worry about all the defaulting logic around missing/empty display names.