Asks the user for a string and shows the message str. def is the default value shown.
Category: Dialogs