Clear selection on clicking delete.