so if I understand you correctly, when my dialog window opens I can get gui to automatically push the close button in the top right ?.
Is it possible you can point me in the right direction as to what function or command I will need to use to achieve this.
harry