make the after-submit lightbox work