add models_config version delete support and make panel heading collapse support