Applied responsive design to modals