Attaching z-index to all controls and introducing layers to modify z-index