[CDE-244]: fixed file picking when editing a new dashboard

@pamval please review