Modeless form crash due to bundle.yaml

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

Full video without and with bundle yaml.
https://arup-my.sharepoint.com/:v:/p/tomasz_puchala/EXQCeBx9wDpBiQScc0LWVHgBZW8ry6Jp9VD7Xd91j5trkA?e=DzFVEF

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: