edit mode click outer to submit