Issue #2370181 by eshta: Update javascript settings of custom actions when goals are created.