Ruby code to import component into model from custom HTML pop up box

I had the DC Options popup feature in my example. But after doing a forum search, I realize now that I had not publicly posted it back then (OCT of 2019.) I had only sent a “private labeled” edition (ie, where the toplevel “Example” module is properly renamed) via a PM to the user. I’ve made a few edits since then.

I never had a toggle command to switch off the DC Options popup. It was just on all the time (in this example) but I have other examples that have a similar toggle and can paste code from one of those I’m sure.

I’ll try to get it posted later today. (The lawn needs mowing this morn before it gets too hot. Supposed to be 92 today with the typical afternoon t-storms we get in FL in the summer.)