Fix styling for rich attachments
Code review changes for modal view