disabling save button when only reading file