fix functions form reset warning dialog