fix modal for small devices