GRAS-1330 Fixing bug in refresh on modal.