ensure bubbles are closed when a view is closed