Lucee 7 and updating a div on jquery ui dialog

We are running Lucee 7.0.1.100 on a test server. I have a jquery dialog that opens and runs a file upload. If there is an issue with the data, it creates a table and replaces a div with the html of the table.
It works fine in Lucee 5.x. In Lucee 7, any messages written to the dev display on the page behind the dialog and not inside the dialog.
Looking for any suggestions.

I found a work around and that was to close the existing dialog and open new one with the error information.