adding the cancel button to data entry forms