[PUB-257] Various refactorings. Present downloaded document modally on header tap.
[PA-257] Various refactorings.