<%if(typeof title == 'string' && title.length > 0){ %>

<%=title %>

<%} %>
<%=cancelText%>