Closing widget issue

Closing widget issue

Hi there,

I am new to widget development and I am trying developing a dialog widget.


How can I unload/close/kill/destroy the dialog from a command button which is part of the dialog ?