debuggin dialog boxes