use hideTitle to hide the title, unless in edit mode