clean up button registry & callbacks