Changes dashboard widgets to hide themselves if there aren't any data applicable to displaying them.
Fixes NPE in UnpublishedDrafts when there aren't any states in a workflow.
Fixes item row not displaying visibility label in search result.
Makes sure that the global search type reset when focusing on the input is triggered if there's no text in it.
Fixes NPE when ToolPageContext#findOrReserve fails to materialize an object.