remove selection on clicking x