modify return button for the gadget picture-gallery