reset modal is complete