Added a form for editing events