add the popup framwork