Javascript How Do I Prevent Multiple Ionic React Modals From Opening Closing At Once Stack

Javascript How Do I Prevent Multiple Ionic React Modals From Opening Closing At Once Stack