Script error when closing modal before it's loaded
Merge pull request #1702 from reciprocity/feature/modal-script-error-on-close

Script error when closing modal before it's loaded