using modal dialog to be the place to define CSV file format and then pass result into account. promise?