implement the remove profiles button on the container page