adding confirmation dialog when changing profiles of a container (see ECLIPSE-908)