In dialogues it is necessary to use commas to separate the quote from the rest of the sentence. A comma should be placed before the quote when there is an introductory element. Also, a comma should be placed after the quote when there is a dialogue tag that follows the quote. In this case, the sentence that uses commas correctly with dialogue is option D because it places a comma after the quote and right before the dialogue tag her mother said.