Scaffolding for modal overlay viewer