added ability to hook into input and its container creation process
added ability to customize input container z-index