xhtml convertion for popups using includes in step1 &3