Refactor FileList dialog to use fragments