Confusingly, "incidentally" isn't always used to describe an action as being incidental. Consider the following definition from a Google search of "define: incidentally":
Used when a person has something more to say, or is about to add a remark unconnected to the current subject; by the way
Used when a person has something more to say, or is about to add a remark unconnected to the current subject; by the way