Opens the dialog window.
ShowDialog disables the input and HideDialog enables it. Therefore, if you call ShowDialog() several times, you must call HideDialog() or EnableInput() as many times to enable the input. If any action causes the input to be enabled while the dialog window is open, third-person mouse controls are enabled (mouse cursor locks at the center of the screen), and the player won't be able to move the cursor over any dialog option to press it.
ShowDialog()