modified gallery close button