polished entity,file delete UI

- Fixed vars and links in alert messages.
- Hooked up the "delete" buttons.