Added support for finding and setting z-index of contextMenu, based on event target.