Using modal to do this...good idea? Better way of doing this?

Not a problem per se, as we are still considering this options…We are thinking of doing this for our website when user tries to view it on mobile landscape:

Wondering if Sephora’s example is a good idea in general? If so, is there a better way of doing it other than creating a modal?