Add delete slide functionality