* Send a delete event to close the dialog if the close button is clicked