checkDirty is not behaving like expected
Bug fix in code to make all refs to media use FileLocation