close correctly /if /td
factor list view buttons code: working on templating
eliminate duplicated busy span