If the user is fast enough to close the segment editor with ESC and after this quickly uses ctr+v to paste a content, the past event handler will be triggered. Since the segment editor is no longer available, this will lead to an UI error and rootcause report.