setup save buttons to take ids via js. still gotta test