Adds automatic z-index update on insert

This makes sure tooltips are displayed on top of their origin (for example popovers).