[TIMOB-11747] prevent document viewer garbage collection; also fix hide/dismissPreviewAnimated to run on UI thread
remove code missed in previous commit
Merge pull request #4030 from mstepanov/timob-11747

[TIMOB-11747] prevent document viewer garbage collection; also fix hide/dismissPreviewAnimated to run on UI thread