Set ventry value to ID of current entry if the entry exists. This enables the multipage navigation tabs to work for new entries.