OZP-16: removing bootstrap-modal after evaluating another path.