Bug 1011180: Adds warning message for user when changing environment.
Merge pull request #3071 from ehelms/bug-1011180

Bug 1011180: Adds warning message for user when changing environment.