fixed an issue where the modal wouldn't align back to the middle going from mobile to desktop