selected data and path to node stored in form fields