Adding custom events into form render.