Fixed pop up close issue.