[Dist] Improve the modal experience for mobile devices