Ellipsize long names in editing dialog

This prevents the 'Done' editing button from being hidden when editing
contacts with extremely long names.