Refractoring Open, Save and IsDirty