save selected node for every predicate in cookie, select it when changing predicate