How to make actions after my alert dismissed in Ionic

Hi guys, I want to make some actions after my alert dismissed.

I know u may tell me its easy by using buttons handler but my question not for this case. I need help in case I didn’t click on alert buttons such as when I click on back button of my phone then nothing happen.

So is there any way to check if my alert dismissed to run another function?