changing dialog style for mobile