Prevent IonicPopup to open more than once

Is there a way to prevent opening a IonicPopup more than once? Like closing all others or so?