throwing and catching custom event listenrs in detector view