clean up with dialog example