fix style of dialog on mobile