Added input validation to the event annotation view