Fixed saving event details in modal.