Folder delete now works on front-end

Also added reusable confirm dialog utility.