22.12.2013, 08:06
Keep a variable that holds "true" after that player entered the correct password.
Before showing the dialog, check if it's false. If so, display the dialog, otherwise do nothing.
Before showing the dialog, check if it's false. If so, display the dialog, otherwise do nothing.