Deactivate add and remove buttons when switching animations in frame definition