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

Ensure editor closes early. Disable 'cancel' button during changes until a better solution can be found.