Merge "[PB] Handle close transition in prepare_open transition." into main