Add document widget overlay.

Fixes overlay from PR #315