fix delete popup

The `$route.reload();` doesn't work with ui-router.
Also add the error modal if the server doesn't like the request.
creative : archive/unarchive/delete