Added base z-index functionality