Add popupbox & Revise old codes.