Fix for INCDT-21110

when model refreshes on workspace close, instruct to not obtain new lock
implemented unit test
Merge pull request #866 from tjwebb/INCDT-Bug-21110

Incident #21110: Dirty Model remains locked when Back is tapped and then Discard is selected