work on mobile modal