change css to properly select modal popup for mobile view