remove popup on click.