Adds title to panel.