disable callbacks when editing is disabled