click event activate component