merge down from release branch
Merge pull request #184 from jay-hodgson/develop

SWC-364: only refresh the attachments of the entity when the edit dialog is visible