Worked on edit/new event functionality.