show title correctly in dialog