created record cancel button and redirect from show page to dvr page