Added a check in Modals.draw so that it doesn't draw in a previously destroyed modal
Merge pull request #367 from reciprocity/feature/document_null

Added a check in Modals.draw to prevent drawing in destroyed modals