OZP-16: use Warning class plus DOM cleanup for Modals