Passes model and index to emptyViewOptions.