printing! and getdialog fix