added report popup window code