It's really annoying when a sliding door won't shut completely, but adding a couple magnets can help it shut all the way every time. Your sliding door might be able to latch if you hold it and lock it ...