fixed bug when deleting sample. Deleting sample now goes to either a delete sample confirmation page or back to myworkspace with a message