Delete button

convert delete link functionality to button. Fix variable names and smooth view rendering.