I am creating an audio player using ionic 5 (angular) with “cordova-plugin-media” and “@ionic-native/media”. While clicking on 1st song from list it opens a modal with media controllers. When i close the modal the song plays. Now clicking on 2nd song from the list, modal opens and 2nd song plays, but the 1st song is even playing too. As instance is destroyed of 1st song due to modal dismiss, i’m not able to stop 1st song. So i want to hide the modal. Or is there any other way to control the 1st song?