Instead of overriding open, provide a chainable afterOpen for imageGallery