Made more generic by extending button class to #edit-cancel.