Gallery now displaying and able to close