Dismiss keyboard after editing