removed unused method from popupwindow