Are you asking where the event.preventDefault() call went? This method is now called from add_xblock (the function as passed as a parameter when AddXBlockComponent is created. In general, add_xblock is handling the event.preventDefault() calls, but it doesn't do it in this case.

I added a comment to the place in add_xblock where the call should be.