deletes a bunch of unused templates, prepares leaf detail view for work, prepares modal

Signed-off-by: Levi Tan Ong <levi@byimplication.com>