Is there a reason why it shouldn't close when there's a modal on the page? I can't think of any scenario where the clip should stay open when a modal is open/invoked.