[BACKPORT]Added warning dialog for when upgrading plugin.