copy/paste: respect return value of gtk dialog.