Loading Report modal doesn't disappear after the report is finish

I’m using a Script report, and on the execute method I return columns and data

even after I received the data, the Loading report modal still showing up:

How to fix that?

Thanks