wr: added basic master-detail for selected item