Copy of the OOB kb_knowledge 'Delete' button generates the error "Uncaught TypeError: Cannot read property 'GlideModal' of null"DescriptionAfter copying the kb_knowledge Delete button and clicking on the copy, it does nothing and generates the error "Uncaught TypeError: Cannot read property 'GlideModal' of null". Steps to Reproduce Copy the Delete UI Action for the kb_knowledge tableEdit an articleOpen a developer console in your browserClick on the copy of the Delete UI ActionObserve the error message "Uncaught TypeError: Cannot read property 'GlideModal' of null"CauseThis is expected behavior because the UI action is run in strict mode, which causes the runtime issue. Basically, when running in strict mode you are not allowed to access any DOM elements. In particular, this includes the use of window. Many of the base system scripts are allowed to run in non-strict mode, but by copying the existing UI action you are forced into strict mode.ResolutionThere are several ways to address this issue: The correct way to re-write this script to run in strict mode would be: var dialogClass = (typeof GlideModal !== 'undefined') ? GlideModal : GlideDialogWindow; New client-scripts are run in strict mode, this removes direct access to the DOM, jQuery, prototype, and the window object. To turn this off this on a per-script basis Configure this form to add the "Isolate script" fieldDisable the field. To disable this feature for all new globally-scoped client-side scripts set the system property "glide.script.block.client.globals" to false. If this property is not present in your 'System Properties > All Properties' [sys_properties] table, you can add it: Go to the sys_properties.listClick NewPopulate the form Name: glide.script.block.client.globalsType: true|falseValue: false