Some panel rows disappear after closing last document