added folder dialog to export function to follow more standard ui flow