tweaking adaptive styles for modal