Cleanup button box when reinitializing attribute form