How to show choices in Popup or Modal for a Select input in form?

I have a form in which I need 3 select inputs, one each for* Country, State and City*. In my form I want that there should a default “Choose your Country” in the select input and once a user clicks on that, he should get a Popup or Modal (I’m not sure) where he sees a list of Countries to choose from. Once he selects, it should show in the select input. And same is for State and City.

Ionic’s default select is not a good UI. I need to show choices in a Popup/Modal.

Please guide me on how to achieve this.