She is talking to Kennedy, her interaction with Madeline is purely mental