Implemented PopupPanel.