makes functional add/remove buttons that disappear and reappear appropriately