change z-index for new or upadted note