Modeless form crash due to bundle.yaml

Is there any chance to break modeless form by adding simple bundle.yaml?

Full video without and with bundle yaml.

I thought it was sth wrong in my code, but not really.
I have even tried to clean def for this button:

def button_addPipework_click(self, sender, args):
    return 0

Still doesn’t work and crash revit.

Have you encounter sth like this? :smiley: