Converted PM viewer to model pop-up