Updated to support index value of the z-index so that it will overlay any current modals.