[GTK] Fix dialog closing issue

Close a dialog when calling Respond in the CloseRequested handler.