long press for mobile (instead of dblclick). and doubleclick to close edit box