Properly resigning responder when the editor blurs