feat(modal): allow index to be set manually

Allow the z-index for multiple open modals to be set manually