make new saved subs generator work with multiple modbutton instances