append new slide work just right before the clicked button