Detect when a node is removed and notify the change to the controller