pane has not been finished yet

how to smart open and close is a problem