JBIDE-17847 - Bad UI workflow when changing the profile of a server

https://issues.jboss.org/browse/JBIDE-17847
Bad UI workflow when changing the profile of a server