Modal overlay working in mobile with text content