add node to grid on click