LookAndFeel assert firing with ComboBoxPopup open

Yes, you can do a ModalComponentManager::getInstance()->cancelAllModalComponents().

But generally it’s safer to keep hold of any active modal components by having smart pointers to them in your editor component. That way deleting the editor will destroy them all synchronously as it dies.