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

Fixes a problem with the contextmenu if the handsontable is in a jquery-ui dialogue.