handle button top z-index