add userdata to favorite library in a modal form