fix z-index for all elements
Created by: fat
this is a tricky annoying problem because of the relationship between the topbar and modal elements and how popovers/dropdowns/etc aren't children of modals.
Currently all dynamic things are shown beneath the modal which is incorrect.