Add option for close tip when item is clicked