If schema diff is opened in a new tab and "Generate script" is clicked (with query tool setting "open in new tab" set to true) then it shows a forever spinner because of pop up blocks.
Attached patch will show an alert message in that case so that the user can allow pop up and generate the script again.