Pause music when modal popped up