layout of pdf popup