Refactor showing of a content's attachment. Fix bugs with rendering before the focused attachment is focused. Fix bug with rendering content view before modal view is shown