Modal dialogue box implementation

I want to display a modal box with text (pretty common).

Does anyone have any advise on how to pause the game whilst the dialogue is shown so the user can press A however many times that they need to in order to move through the message(s) before carrying on?