Restore buttonbox visibility after attribute form reload

Followup febe37de

Fix #11229
Fix #11194