Please make it harder to exit an element while building

I just lost 25 minutes worth of work setting up a form because I accidentally clicked the red X. I want to throw my computer out the window right now. Please make it harder for me to lose work like that. Any sort of “Are you sure you want to exit?” type message would do the trick.

There are protections almost everywhere else in the app, but I can just exit an element while building and lose everything with a single misclick.

Pretty please fix this one. My sanity will be very appreciative.