Add comment to explain isInEditMode()