Show values for text and rich text custom attributes in modals

@reciprocitylaran this is work in progress, but it should display values for text and rich text custom attributes in modals. Sharing the half finished state because you might find it useful when debugging/working on save functionality.