Fix page reload after edit.