added z-index modification with arrow keys and cursor in editor