Cleaned up upgrade modal in the error case.