in reply to pTk popup not returning value and not locking calling window
I'm not an expert here, but it sounds as if you're not
programming your pop-up as a modal window. Check the
DialogBox.pm code for clues. It uses the waitVariable
method (described in "Learning Perl/Tk", p. 304ff) to
wait for the button press. Good luck!