Add OnEvent tags to buttons.