Issue #21: Iss21 branch, Phase two - Step five implementation. Resolved error with destroying dialog in Editor class.