Updates button text and adds preventDefault to the edit slide JS