fixed reset dialog