Fix z-index stacking of HTML contract editor