Grid not showing task updates after using lightbox

I am using lightbox to edit the data. When I save, it does persist to database. However, it doesn’t show the dates in the grid.

If I edit the task from the Project page, it persists to the database and also shows on the grid.

Not sure what I’m missing here. I don’t see any errors.

NOTE: This only happens when there isn’t a start date when opening lightbox. If I already have a start date, I can successfully edit it.

I have custom lightbox code and you can see it here: Snippet

EDIT: I know what this is. I have gantt.config.show_unscheduled = true

I forgot to set the value when I edit the task and add a date.