Change min-width to adapt the phone screen size.
Add android back button listener and disable touch gestures on body to prevent the overlay scrolling when dialog is being shown.