Fixed unsaved changes precondition

Otherwise the unsaved precondition is fired even if OpenChange is provisioned