moved resourceFileSelectionDialog