reciprocity/ggrc-core — pull request #367 by andykant (2013-09-23 17:07:29+00:00)
Title: Added a check in Modals.draw to prevent drawing in destroyed modals

Modals draw asynchronously which can sometimes result in a previously destroyed modal drawing after it has been destroyed. This should fix the "document is null" bug that sometimes occurs.