NXP-11059: more specific action id
NXP-10851: avoid NPE when there is no FacesContext
NXP-11419: completely replace old API to avoid confusing the search DocumentModel and documents passed as parameters