working on popup the basepopupwindow