'Advanced target close that makes more sense.'

def _close(self):

    if self.like_initial:
        return False
    msg = 'Do    you    want    to    save    the    configuration?'
    dlg = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_WARNING, gtk.BUTTONS_YES_NO, msg)
    saveConfig = (dlg.run() == gtk.RESPONSE_YES)
    dlg.destroy()
    if saveConfig:
        self._panel._save_panel(self._panel, self._plugin)
    return False
