updated the modal plugin to fix an issue with the alignment of the modal when transitioning from mobile to desktop