enable customization of opacity and whether z-index is applied to focused elements