I am trying to write code that will simply close a dialogue box. How do I do that? Thanks in advance, Dane