In English, where should you place periods and question marks used in dialogue?

In English, periods and question marks used in dialogue should be placed inside the quotation marks at the end of the sentence. For example: "Did you go to the store?" she asked.