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