Close the details view when typing in the body text view