Dundee manager Tony Docherty wants his players to be more resilient after his side lost 3-2 to Hearts after having a two-goal lead.