Added call to removelisteners method of dependent components