add create new resource type modal to labnotes form
and fix bug in facet formsets
add create new resource type modal to past work form