fix(ProjectManagement): Fix get_query
Dialog is a Layout object, so it calls attach_doc_and_docfields on refresh. This is turns overrides the df property of the field objects by taking it using frappe.meta.get_docfield. Thus we have to override the docfield copy.