Fixed problem with study id and date not going to modal mediafile entry form.