updated the cancel callback to use hide when inplaceediting