Though you mentioned on discord you also had a a Gold Dragon delayed widget as part of it. It'd be easiest of this was focused on one shape, but it should work with a normal delayed shapechange to a Gold Dragon with the normal caveat that you abuse it you lose it. (I.E dont randomly turn into one without the spell)
But you'll have to get an actual DM's opinion aswell
Unless one of the others wish to look into fixing the current widget