added clearing fields for cancel button