debug dialog working