cancel button should reset the form