setting popup windows

Setting popup windows are now working. However, the pop up windows take
complete control of the app and do not even enable the back button of
the device. I still to figure out this.