Added events for adding and moving components