added events for node add, remove and checkbox select