fix the issue where the buttons wouldn't instantiate for each copy of the editor