add serialize button & Events in Controller