* using javascript confirm to delete a file
* added acl check on delete file in html template