getYesNo
Opens a text input dialog for a player and calls callback with the result when the player confirms, or with null if they discard.
Parameters
title
The title of the dialog
player
The player to open the dialog to
key
The key of the text input, used to retrieve the value
callback
Called with the player's input, or null on discard