fix #262: ToggleButtons in ErrorPad do not refresh caption if disabled
fixes #288: Crash when quickly closing several view contents.