Don't update z-index everytime modal is opened.

Deals with the unfortunate issue https://github.com/MarkUsProject/Markus/issues/1611.