Setting z-index on show/hide control