small changes on modal gallery