Revert "KS-4696: Cannot save document in Content Explorer in debug mode"

This reverts commit a1c56fb203054be17eb52ae1702732248f83ba8f.