Add preview button to slide generator