popup is now fully functional