Propose to add onClose() here. To avoid confusing data in popup panel.