Removed click event handler when list box is closed