Working export dialog