Select node on click