This pertains to dialogue without parenthetical citation at the end of the sentence. With a question mark, the question mark should stay within the quotation marks if it pertains to the quote/dialogue ...