fix addon uninstall yesno dialog behaviour

introduced in 333025f

addon uninstall yesno dialog behaviour is broken:
yes = does nothing. no = uninstalls the addon
Merge pull request #3700 from stefansaraev/fixaddons

fix addon uninstall yesno dialog behaviour