add title to closing panel