basics of popup viewer in place