a XawDialogGetValueString(); this is apparently no longer permissible
(the docs say it gets automatically freed by XawDialogGetValueString()).
PR: ports/12490
While i was at it, i also added WM_DELETE_WINDOW hooks so all the
toplevels can be deleted by usual window manager actions.