updated wrapper viewer for modal window