reset edit control before every refresh