embeds a pdf in viewer.